public Messages.FileSystemProviderEnvMessages env()
public FileSystemException isDirectory(String dir)
FileSystemProvider.newByteChannel(Path, Set, FileAttribute...)
or a similar method is
called with a directory.dir
- The directory path.public IllegalArgumentException illegalOpenOptionCombination(OpenOption... options)
FileSystemProvider.newByteChannel(Path, Set, FileAttribute...)
or a similar method is
called with an illegal combination of open options.options
- The illegal combination of open options.public IllegalArgumentException illegalOpenOptionCombination(Collection<? extends OpenOption> options)
FileSystemProvider.newByteChannel(Path, Set, FileAttribute...)
or a similar method is
called with an illegal combination of open options.options
- The illegal combination of options.public IllegalArgumentException illegalCopyOptionCombination(CopyOption... options)
FileSystemProvider.copy(Path, Path, CopyOption...)
or
FileSystemProvider.move(Path, Path, CopyOption...)
is called with an illegal combination of copy options.options
- The illegal combination of copy options.public IllegalArgumentException illegalCopyOptionCombination(Collection<? extends CopyOption> options)
FileSystemProvider.copy(Path, Path, CopyOption...)
or
FileSystemProvider.move(Path, Path, CopyOption...)
is called with an illegal combination of copy options.options
- The illegal combination of copy options.public UnsupportedOperationException unsupportedFileAttributesType(Class<? extends BasicFileAttributes> type)
FileSystemProvider.readAttributes(Path, Class, LinkOption...)
is called with an
unsupported file attributes type.type
- The unsupported type.public UnsupportedOperationException unsupportedFileAttributeView(String view)
FileSystemProvider.readAttributes(Path, String, LinkOption...)
or
FileSystemProvider.setAttribute(Path, String, Object, LinkOption...)
is called with an unsupported file attribute view.view
- The unsupported view.public UnsupportedOperationException unsupportedCreateFileAttribute(String attribute)
FileSystemProvider.newByteChannel(Path, Set, FileAttribute...)
,
FileSystemProvider.createDirectory(Path, FileAttribute...)
or a similar method is called with an unsupported file attribute.attribute
- The unsupported attribute.public UnsupportedOperationException unsupportedCreateFileAttributeValue(String attribute, Object value)
FileSystemProvider.newByteChannel(Path, Set, FileAttribute...)
,
FileSystemProvider.createDirectory(Path, FileAttribute...)
or a similar method is called with an unsupported value for a supported
file attribute.attribute
- The attribute.value
- The unsupported value.public IllegalArgumentException unsupportedFileAttribute(String attribute)
FileSystemProvider.readAttributes(Path, String, LinkOption...)
or
FileSystemProvider.setAttribute(Path, String, Object, LinkOption...)
is called with an unsupported file attribute.attribute
- The unsupported attribute.public UnsupportedOperationException unsupportedOpenOption(OpenOption option)
FileSystemProvider.newByteChannel(Path, Set, FileAttribute...)
or a similar method is
called with an unsupported open option.option
- The unsupported open option.public UnsupportedOperationException unsupportedCopyOption(CopyOption option)
FileSystemProvider.copy(Path, Path, CopyOption...)
or
FileSystemProvider.move(Path, Path, CopyOption...)
is called with an unsupported copy option.option
- The unsupported copy option.Copyright © 2016–2023. All rights reserved.