Class HiddenAttributeView<P extends Path>
- java.lang.Object
-
- org.uberfire.java.nio.base.AbstractBasicFileAttributeView<P>
-
- org.uberfire.java.nio.base.attributes.HiddenAttributeView<P>
-
- All Implemented Interfaces:
ExtendedAttributeView,AttributeView,BasicFileAttributeView,FileAttributeView
public abstract class HiddenAttributeView<P extends Path> extends AbstractBasicFileAttributeView<P>
This is a view that extends a Basic Attribute View and adds the "isHidden" attribute. That attribute lets you know if the branch you are querying is a hidden branch or not. Hidden branches should not be used, are just a mechanism to merge.
-
-
Field Summary
Fields Modifier and Type Field Description static StringHIDDEN-
Fields inherited from class org.uberfire.java.nio.base.AbstractBasicFileAttributeView
path
-
-
Constructor Summary
Constructors Constructor Description HiddenAttributeView(P path)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Stringname()abstract HiddenAttributesreadAttributes()Map<String,Object>readAttributes(String... attributes)-
Methods inherited from class org.uberfire.java.nio.base.AbstractBasicFileAttributeView
isSerializable, readAllAttributes, setAttribute, setTimes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.uberfire.java.nio.base.ExtendedAttributeView
viewTypes
-
-
-
-
Field Detail
-
HIDDEN
public static final String HIDDEN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HiddenAttributeView
public HiddenAttributeView(P path)
-
-
Method Detail
-
name
public String name()
- Specified by:
namein interfaceAttributeView- Overrides:
namein classAbstractBasicFileAttributeView<P extends Path>
-
readAttributes
public abstract HiddenAttributes readAttributes() throws IOException
- Throws:
IOException
-
readAttributes
public Map<String,Object> readAttributes(String... attributes)
- Specified by:
readAttributesin interfaceExtendedAttributeView- Overrides:
readAttributesin classAbstractBasicFileAttributeView<P extends Path>
-
-