public class K8SFileSystemProvider extends SimpleFileSystemProvider implements CloudClientFactory
SimpleFileSystemProvider.OSTypefileSystem| Constructor and Description |
|---|
K8SFileSystemProvider() |
createLink, createSymbolicLink, forceAsDefault, getDefaultFileSystem, getFileAttributeView, getFileSystem, getPath, isDefault, isSameFile, newAsynchronousFileChannel, newDirectoryStream, newFileSystem, newFileSystem, readAttributes, readSymbolicLink, setAttribute, split, toGeneralPathImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateKubernetesClient, createOpenShiftClient, executeCloudFunction, setupConfigpublic String getScheme()
getScheme in interface FileSystemProvidergetScheme in class SimpleFileSystemProviderpublic InputStream newInputStream(Path path, OpenOption... options) throws IllegalArgumentException, NoSuchFileException, IOException, SecurityException
newInputStream in interface FileSystemProvidernewInputStream in class SimpleFileSystemProviderIllegalArgumentExceptionNoSuchFileExceptionIOExceptionSecurityExceptionpublic OutputStream newOutputStream(Path path, OpenOption... options) throws IllegalArgumentException, UnsupportedOperationException, IOException, SecurityException
newOutputStream in interface FileSystemProvidernewOutputStream in class SimpleFileSystemProviderIllegalArgumentExceptionUnsupportedOperationExceptionIOExceptionSecurityExceptionpublic FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, IOException, SecurityException
newFileChannel in interface FileSystemProvidernewFileChannel in class SimpleFileSystemProviderIllegalArgumentExceptionUnsupportedOperationExceptionIOExceptionSecurityExceptionpublic SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, FileAlreadyExistsException, IOException, SecurityException
newByteChannel in interface FileSystemProvidernewByteChannel in class SimpleFileSystemProviderIllegalArgumentExceptionUnsupportedOperationExceptionFileAlreadyExistsExceptionIOExceptionSecurityExceptionpublic void createDirectory(Path dir, FileAttribute<?>... attrs) throws UnsupportedOperationException, FileAlreadyExistsException, IOException, SecurityException
createDirectory in interface FileSystemProvidercreateDirectory in class SimpleFileSystemProviderUnsupportedOperationExceptionFileAlreadyExistsExceptionIOExceptionSecurityExceptionprotected Path[] getDirectoryContent(Path dir)
getDirectoryContent in class SimpleFileSystemProviderpublic void delete(Path path, DeleteOption... options) throws NoSuchFileException, DirectoryNotEmptyException, IOException, SecurityException
delete in interface FileSystemProviderdelete in class SimpleFileSystemProviderNoSuchFileExceptionDirectoryNotEmptyExceptionIOExceptionSecurityExceptionpublic boolean deleteIfExists(Path path, DeleteOption... options) throws DirectoryNotEmptyException, IOException, SecurityException
deleteIfExists in interface FileSystemProviderdeleteIfExists in class SimpleFileSystemProviderDirectoryNotEmptyExceptionIOExceptionSecurityExceptionpublic boolean isHidden(Path path) throws IllegalArgumentException, IOException, SecurityException
isHidden in interface FileSystemProviderisHidden in class SimpleFileSystemProviderIllegalArgumentExceptionIOExceptionSecurityExceptionpublic void checkAccess(Path path, AccessMode... modes) throws UnsupportedOperationException, NoSuchFileException, AccessDeniedException, IOException, SecurityException
checkAccess in interface FileSystemProvidercheckAccess in class SimpleFileSystemProviderUnsupportedOperationExceptionNoSuchFileExceptionAccessDeniedExceptionIOExceptionSecurityExceptionpublic FileStore getFileStore(Path path) throws IOException, SecurityException
getFileStore in interface FileSystemProvidergetFileStore in class SimpleFileSystemProviderIOExceptionSecurityExceptionpublic <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws NoSuchFileException, UnsupportedOperationException, IOException, SecurityException
readAttributes in interface FileSystemProviderreadAttributes in class SimpleFileSystemProviderNoSuchFileExceptionUnsupportedOperationExceptionIOExceptionSecurityExceptionprotected <V extends FileAttributeView> V createFileAttributeView(GeneralPathImpl path, Class<V> type)
createFileAttributeView in class SimpleFileSystemProviderpublic void copy(Path source, Path target, CopyOption... options) throws UnsupportedOperationException, FileAlreadyExistsException, DirectoryNotEmptyException, IOException, SecurityException
copy in interface FileSystemProvidercopy in class SimpleFileSystemProviderUnsupportedOperationExceptionFileAlreadyExistsExceptionDirectoryNotEmptyExceptionIOExceptionSecurityExceptionpublic void move(Path source, Path target, CopyOption... options) throws DirectoryNotEmptyException, AtomicMoveNotSupportedException, IOException, SecurityException
move in interface FileSystemProvidermove in class SimpleFileSystemProviderDirectoryNotEmptyExceptionAtomicMoveNotSupportedExceptionIOExceptionSecurityExceptionprotected void checkFileNotExistThenThrow(Path path, boolean isLink)
checkFileNotExistThenThrow in class SimpleFileSystemProviderprotected void checkFileExistsThenThrow(Path path)
checkFileExistsThenThrow in class SimpleFileSystemProviderCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.