Class FileAttributes

    • Constructor Detail

      • FileAttributes

        public FileAttributes()
    • Method Detail

      • setAttributes

        public void setAttributes​(int attributes)
      • getAttributes

        public int getAttributes()
      • setAttributeState

        public void setAttributeState​(int attributeMask,
                                      boolean active)
      • getAttributeState

        public boolean getAttributeState​(int attributeMask)
      • write

        public void write​(java.io.OutputStream out)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public void read​(java.io.InputStream in)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • setExtended

        public void setExtended​(short platformCode,
                                byte[] value)
        Sets the extended attribute bytes for the given platform code.
      • getExtended

        public byte[] getExtended​(short platformCode)
        Returns the extended attribute bytes for the given platform code.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object