| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | AbstractBasicFileAttributeView.
Used to build a map of attribute name/values. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Set | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | addRequestedBasicAttributes(BasicFileAttributes attrs, AbstractBasicFileAttributeView.
Invoked by readAttributes or sub-classes to add all matching basic attributes to the builder |
| public String | name()
Implements java. Returns the name of the attribute view. |
| public Map | readAttributes(String[] requested)
Implements sun. Reads a set of file attributes as a bulk operation. |
| public void | setAttribute(String attribute, Object value)
Implements sun. Sets/updates the value of an attribute. |
| basicAttributeNames | back to summary |
|---|---|
| pack-priv static final Set<String> basicAttributeNames | |
| CREATION_TIME_NAME | back to summary |
|---|---|
| private static final String CREATION_TIME_NAME | |
| FILE_KEY_NAME | back to summary |
|---|---|
| private static final String FILE_KEY_NAME | |
| IS_DIRECTORY_NAME | back to summary |
|---|---|
| private static final String IS_DIRECTORY_NAME | |
| IS_OTHER_NAME | back to summary |
|---|---|
| private static final String IS_OTHER_NAME | |
| IS_REGULAR_FILE_NAME | back to summary |
|---|---|
| private static final String IS_REGULAR_FILE_NAME | |
| IS_SYMBOLIC_LINK_NAME | back to summary |
|---|---|
| private static final String IS_SYMBOLIC_LINK_NAME | |
| LAST_ACCESS_TIME_NAME | back to summary |
|---|---|
| private static final String LAST_ACCESS_TIME_NAME | |
| LAST_MODIFIED_TIME_NAME | back to summary |
|---|---|
| private static final String LAST_MODIFIED_TIME_NAME | |
| SIZE_NAME | back to summary |
|---|---|
| private static final String SIZE_NAME | |
| AbstractBasicFileAttributeView | back to summary |
|---|---|
| protected AbstractBasicFileAttributeView() | |
| addRequestedBasicAttributes | back to summary |
|---|---|
| pack-priv final void addRequestedBasicAttributes(BasicFileAttributes attrs, AbstractBasicFileAttributeView. Invoked by readAttributes or sub-classes to add all matching basic attributes to the builder | |
| name | back to summary |
|---|---|
| public String name() Implements java. Doc from java. Returns the name of the attribute view. Attribute views of this type
have the name
| |
| readAttributes | back to summary |
|---|---|
| public Map Implements sun. Doc from sun. Reads a set of file attributes as a bulk operation.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String attribute, Object value) throws IOException Implements sun. Doc from sun. Sets/updates the value of an attribute.
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Map | |
| private Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv static AbstractBasicFileAttributeView. | |
| pack-priv boolean | |
| pack-priv Map |
| copyAll | back to summary |
|---|---|
| private boolean copyAll | |
| map | back to summary |
|---|---|
| private Map<String, Object> map | |
| names | back to summary |
|---|---|
| private Set<String> names | |
| AttributesBuilder | back to summary |
|---|---|
| private AttributesBuilder(Set<String> allowed, String[] requested) | |
| add | back to summary |
|---|---|
| pack-priv void add(String name, Object value) | |
| create | back to summary |
|---|---|
| pack-priv static AbstractBasicFileAttributeView. Creates builder to build up a map of the matching attributes | |
| match | back to summary |
|---|---|
| pack-priv boolean match(String name) Returns true if the attribute should be returned in the map | |
| unmodifiableMap | back to summary |
|---|---|
| pack-priv Map Returns the map. Discard all references to the AttributesBuilder after invoking this method. | |