com.google.common.collect.ImmutableSet<java.lang.String> |
AttributeProvider.attributes(File file) |
Returns the set of attributes supported by this view that are present in the given file.
|
com.google.common.collect.ImmutableSet<java.lang.String> |
UserDefinedAttributeProvider.attributes(File file) |
|
private void |
FileSystemView.checkDeletable(File file,
FileSystemView.DeleteMode mode,
java.nio.file.Path path) |
Checks that the given file can be deleted, throwing an exception if it can't.
|
private void |
FileSystemView.checkMovable(File file,
JimfsPath path) |
|
private void |
FileSystemView.checkNotAncestor(File source,
Directory destParent,
FileSystemView destView) |
Checks that source is not an ancestor of dest, throwing an exception if it is.
|
void |
AttributeService.copyAttributes(File file,
File copy,
AttributeCopyOption copyOption) |
Copies the attributes of the given file to the given copy file.
|
(package private) void |
File.copyAttributes(File target) |
Copies the attributes from this file to the given file.
|
(package private) void |
File.copyBasicAttributes(File target) |
Copies basic attributes (file times) from this file to the given file.
|
(package private) void |
File.copyContentTo(File file) |
Copies the content of this file to the given file.
|
(package private) void |
RegularFile.copyContentTo(File file) |
|
File |
FileFactory.copyWithoutContent(File file) |
Creates and returns a copy of the given file.
|
(package private) File |
JimfsFileStore.copyWithoutContent(File file,
AttributeCopyOption attributeCopyOption) |
Creates a copy of the given file, copying its attributes as well according to the given
attributeCopyOption .
|
private @Nullable DirectoryEntry |
FileTree.followSymbolicLink(File dir,
SymbolicLink link,
int linkDepth) |
Returns the directory entry located by the target path of the given symbolic link, resolved
relative to the given directory.
|
@Nullable java.lang.Object |
AclAttributeProvider.get(File file,
java.lang.String attribute) |
|
abstract @Nullable java.lang.Object |
AttributeProvider.get(File file,
java.lang.String attribute) |
Returns the value of the given attribute in the given file or null if the attribute is not
supported by this provider.
|
@Nullable java.lang.Object |
BasicAttributeProvider.get(File file,
java.lang.String attribute) |
|
@Nullable java.lang.Object |
DosAttributeProvider.get(File file,
java.lang.String attribute) |
|
@Nullable java.lang.Object |
OwnerAttributeProvider.get(File file,
java.lang.String attribute) |
|
@Nullable java.lang.Object |
PosixAttributeProvider.get(File file,
java.lang.String attribute) |
|
@Nullable java.lang.Object |
UnixAttributeProvider.get(File file,
java.lang.String attribute) |
|
@Nullable java.lang.Object |
UserDefinedAttributeProvider.get(File file,
java.lang.String attribute) |
|
java.lang.Object |
AttributeService.getAttribute(File file,
java.lang.String attribute) |
Gets the value of the given attribute for the given file.
|
java.lang.Object |
AttributeService.getAttribute(File file,
java.lang.String view,
java.lang.String attribute) |
Gets the value of the given attribute for the given view and file.
|
private @Nullable java.lang.Object |
AttributeService.getAttributeInternal(File file,
java.lang.String view,
java.lang.String attribute) |
|
void |
Directory.link(Name name,
File file) |
Links the given name to the given file in this directory.
|
private void |
FileSystemView.lockSourceAndCopy(File sourceFile,
File copyFile) |
Locks source and copy files before copying content.
|
DirectoryEntry |
FileTree.lookUp(File workingDirectory,
JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options) |
Returns the result of the file lookup for the given path.
|
private @Nullable DirectoryEntry |
FileTree.lookUp(File dir,
JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options,
int linkDepth) |
|
private @Nullable DirectoryEntry |
FileTree.lookUp(File dir,
java.lang.Iterable<Name> names,
java.util.Set<? super java.nio.file.LinkOption> options,
int linkDepth) |
Looks up the given names against the given base file.
|
(package private) DirectoryEntry |
JimfsFileStore.lookUp(File workingDirectory,
JimfsPath path,
java.util.Set<? super java.nio.file.LinkOption> options) |
Looks up the file at the given path using the given link options.
|
private @Nullable DirectoryEntry |
FileTree.lookUpLast(@Nullable File dir,
Name name,
java.util.Set<? super java.nio.file.LinkOption> options,
int linkDepth) |
Looks up the last element of a path.
|
private static void |
AttributeService.readAll(File file,
AttributeProvider provider,
java.util.Map<java.lang.String,java.lang.Object> map) |
|
java.nio.file.attribute.BasicFileAttributes |
AttributeProvider.readAttributes(File file) |
Reads this provider's attributes from the given file as an attributes object.
|
<A extends java.nio.file.attribute.BasicFileAttributes> A |
AttributeService.readAttributes(File file,
java.lang.Class<A> type) |
Returns attributes of the given file as an object of the given type.
|
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> |
AttributeService.readAttributes(File file,
java.lang.String attributes) |
Implements Files.readAttributes(Path, String, LinkOption...) .
|
java.nio.file.attribute.BasicFileAttributes |
BasicAttributeProvider.readAttributes(File file) |
|
java.nio.file.attribute.DosFileAttributes |
DosAttributeProvider.readAttributes(File file) |
|
(package private) <A extends java.nio.file.attribute.BasicFileAttributes> A |
JimfsFileStore.readAttributes(File file,
java.lang.Class<A> type) |
Returns attributes of the given file as an object of the given type.
|
(package private) com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> |
JimfsFileStore.readAttributes(File file,
java.lang.String attributes) |
Returns a map containing the attributes described by the given string mapped to their values.
|
java.nio.file.attribute.PosixFileAttributes |
PosixAttributeProvider.readAttributes(File file) |
|
void |
AclAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
abstract void |
AttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
Sets the value of the given attribute in the given file object.
|
void |
BasicAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
DosAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
OwnerAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
PosixAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
UnixAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
UserDefinedAttributeProvider.set(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
AttributeService.setAttribute(File file,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
Sets the value of the given attribute to the given value for the given file.
|
(package private) void |
JimfsFileStore.setAttribute(File file,
java.lang.String attribute,
java.lang.Object value) |
Sets the given attribute to the given value for the given file.
|
private void |
AttributeService.setAttributeInternal(File file,
java.lang.String view,
java.lang.String attribute,
java.lang.Object value,
boolean create) |
|
void |
AttributeService.setInitialAttributes(File file,
java.nio.file.attribute.FileAttribute<?>... attrs) |
Sets all initial attributes for the given file, including the given attributes if possible.
|
(package private) void |
JimfsFileStore.setInitialAttributes(File file,
java.nio.file.attribute.FileAttribute<?>... attrs) |
Sets initial attributes on the given file.
|
private @Nullable Directory |
FileTree.toDirectory(@Nullable File file) |
|
private void |
FileSystemView.unlockSourceAndCopy(File sourceFile,
File copyFile) |
Unlocks source and copy files after copying content.
|
private static com.google.common.collect.ImmutableSet<java.lang.String> |
UserDefinedAttributeProvider.userDefinedAttributes(File file) |
|