Class DosAttributeProvider.Attributes

  • All Implemented Interfaces:
    java.nio.file.attribute.BasicFileAttributes, java.nio.file.attribute.DosFileAttributes
    Enclosing class:
    DosAttributeProvider

    static class DosAttributeProvider.Attributes
    extends BasicAttributeProvider.Attributes
    implements java.nio.file.attribute.DosFileAttributes
    Implementation of DosFileAttributes.
    • Field Detail

      • readOnly

        private final boolean readOnly
      • hidden

        private final boolean hidden
      • archive

        private final boolean archive
      • system

        private final boolean system
    • Constructor Detail

      • Attributes

        protected Attributes​(File file)
    • Method Detail

      • isReadOnly

        public boolean isReadOnly()
        Specified by:
        isReadOnly in interface java.nio.file.attribute.DosFileAttributes
      • isHidden

        public boolean isHidden()
        Specified by:
        isHidden in interface java.nio.file.attribute.DosFileAttributes
      • isArchive

        public boolean isArchive()
        Specified by:
        isArchive in interface java.nio.file.attribute.DosFileAttributes
      • isSystem

        public boolean isSystem()
        Specified by:
        isSystem in interface java.nio.file.attribute.DosFileAttributes