Package io.virtdata.docsys.metafs.core
Class MetaFS
- java.lang.Object
-
- java.nio.file.FileSystem
-
- io.virtdata.docsys.metafs.core.MetaFS
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisReadOnly
-
Constructor Summary
Constructors Constructor Description MetaFS()
-
Method Summary
Modifier and Type Method Description voidcheckAccess(java.nio.file.Path path, java.nio.file.AccessMode[] modes)This should be implemented per filesystem, using the signature ofFileSystemProvider.checkAccess(Path, AccessMode[])voidclose()abstract java.lang.StringgetName()java.nio.file.PathgetPath(java.lang.String first, java.lang.String... more)java.nio.file.PathMatchergetPathMatcher(java.lang.String syntaxAndPattern)java.nio.file.PathgetRootPath()java.nio.file.attribute.UserPrincipalLookupServicegetUserPrincipalLookupService()booleanisOpen()booleanisReadOnly()abstract java.nio.channels.SeekableByteChannelnewByteChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> options, java.nio.file.attribute.FileAttribute<?>... attrs)java.nio.channels.FileChannelnewFileChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> options, java.nio.file.attribute.FileAttribute<?>... attrs)java.io.InputStreamnewInputStream(java.nio.file.Path path, java.nio.file.OpenOption... options)java.nio.file.WatchServicenewWatchService()java.lang.StringtoString()
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.nio.file.FileSystem- Throws:
java.io.IOException
-
isOpen
public boolean isOpen()
- Specified by:
isOpenin classjava.nio.file.FileSystem
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin classjava.nio.file.FileSystem
-
getPathMatcher
public java.nio.file.PathMatcher getPathMatcher(java.lang.String syntaxAndPattern)
- Specified by:
getPathMatcherin classjava.nio.file.FileSystem
-
getUserPrincipalLookupService
public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
- Specified by:
getUserPrincipalLookupServicein classjava.nio.file.FileSystem
-
newWatchService
public java.nio.file.WatchService newWatchService() throws java.io.IOException- Specified by:
newWatchServicein classjava.nio.file.FileSystem- Throws:
java.io.IOException
-
getRootPath
public java.nio.file.Path getRootPath()
-
getPath
public java.nio.file.Path getPath(java.lang.String first, java.lang.String... more)- Specified by:
getPathin classjava.nio.file.FileSystem
-
checkAccess
public void checkAccess(java.nio.file.Path path, java.nio.file.AccessMode[] modes) throws java.io.IOExceptionThis should be implemented per filesystem, using the signature ofFileSystemProvider.checkAccess(Path, AccessMode[])- Throws:
java.io.IOException
-
newFileChannel
public java.nio.channels.FileChannel newFileChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> options, java.nio.file.attribute.FileAttribute<?>... attrs) throws java.io.IOException- Throws:
java.io.IOException
-
newInputStream
public java.io.InputStream newInputStream(java.nio.file.Path path, java.nio.file.OpenOption... options) throws java.io.IOException- Throws:
java.io.IOException
-
newByteChannel
public abstract java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> options, java.nio.file.attribute.FileAttribute<?>... attrs) throws java.io.IOException- Throws:
java.io.IOException
-
getName
public abstract java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-