org.licas.security

## Class FilePermission

- java.lang.Object
- - org.licas.security.Permission
  - - org.licas.security.FilePermission

-     public class FilePermission
      extends Permission

  Stores permissions related to folder or directory access. This is a licas-specific implementation that is a simplified version of Java's default one.
  Author:
    Kieran

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.String` | `folderPath` The path to the folder, file or directory
    `java.util.ArrayList<java.lang.String>` | `permissions` A list of permissions

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FilePermission()` Create a new instance of FilePermission with empty values
    `FilePermission(java.lang.String theFolderPath)` Create a new instance of FilePermission.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### folderPath

          public java.lang.String folderPath

      The path to the folder, file or directory

    - #### permissions

          public java.util.ArrayList<java.lang.String> permissions

      A list of permissions

  - ### Constructor Detail

    - #### FilePermission

          public FilePermission()

      Create a new instance of FilePermission with empty values

    - #### FilePermission

          public FilePermission(java.lang.String theFolderPath)

      Create a new instance of FilePermission.
      Parameters:
        `theFolderPath` - the folder / file / directory path.