Class ObjectUnderFileSystem.ObjectPermissions

  • Enclosing class:
    ObjectUnderFileSystem

    public static class ObjectUnderFileSystem.ObjectPermissions
    extends java.lang.Object
    Permissions in object UFS.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectPermissions​(java.lang.String owner, java.lang.String group, short mode)
      Creates a new ObjectPermissions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGroup()  
      short getMode()  
      java.lang.String getOwner()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectPermissions

        public ObjectPermissions​(java.lang.String owner,
                                 java.lang.String group,
                                 short mode)
        Creates a new ObjectPermissions.
        Parameters:
        owner - the owner of the object
        group - the group of the object
        mode - the representation of the permission bits
    • Method Detail

      • getOwner

        public java.lang.String getOwner()
        Returns:
        the name of the owner
      • getGroup

        public java.lang.String getGroup()
        Returns:
        the name of the group
      • getMode

        public short getMode()
        Returns:
        the short representation of the permission bits