Uses of Class
org.apache.commons.vfs2.FileType
-
Packages that use FileType Package Description org.apache.commons.vfs2 The public VFS API.org.apache.commons.vfs2.cache VFS File cachingorg.apache.commons.vfs2.impl The standard VFS implementation.org.apache.commons.vfs2.provider The File Provider API, and utility classes.org.apache.commons.vfs2.provider.compressed The compressed file providerorg.apache.commons.vfs2.provider.ftp The FTP File Provider.org.apache.commons.vfs2.provider.http4 The HTTP4 File Providerorg.apache.commons.vfs2.provider.local The Local File Provider.org.apache.commons.vfs2.provider.ram The RAM File Provider.org.apache.commons.vfs2.provider.res The Resource File Providerorg.apache.commons.vfs2.provider.sftp The SFTP Provider.org.apache.commons.vfs2.provider.tar The Tar File Provider.org.apache.commons.vfs2.provider.url The Default File Provider, which wraps java.net.URL.org.apache.commons.vfs2.provider.zip The Zip File Provider. -
-
Uses of FileType in org.apache.commons.vfs2
Fields in org.apache.commons.vfs2 declared as FileType Modifier and Type Field Description private FileType
FileTypeSelector. type
The FileTypeMethods in org.apache.commons.vfs2 that return FileType Modifier and Type Method Description FileType
FileName. getType()
Gets the requested or current type of this name.FileType
FileObject. getType()
Returns this file's type.static FileType
FileType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileType[]
FileType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.apache.commons.vfs2 with parameters of type FileType Constructor Description FileTypeSelector(FileType type)
Creates a new selector for the given file type. -
Uses of FileType in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache that return FileType Modifier and Type Method Description FileType
OnCallRefreshFileObject. getType()
-
Uses of FileType in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl that return FileType Modifier and Type Method Description FileType
DecoratedFileObject. getType()
FileType
SynchronizedFileObject. getType()
Methods in org.apache.commons.vfs2.impl with parameters of type FileType Modifier and Type Method Description FileName
VirtualFileName. createName(java.lang.String absPath, FileType type)
Constructors in org.apache.commons.vfs2.impl with parameters of type FileType Constructor Description VirtualFileName(java.lang.String scheme, java.lang.String absPath, FileType type)
-
Uses of FileType in org.apache.commons.vfs2.provider
Fields in org.apache.commons.vfs2.provider declared as FileType Modifier and Type Field Description private FileType
AbstractFileName. type
private FileType
AbstractFileObject. type
Methods in org.apache.commons.vfs2.provider that return FileType Modifier and Type Method Description protected abstract FileType
AbstractFileObject. doGetType()
Determines the type of this file.protected FileType
DelegateFileObject. doGetType()
Determines the type of the file, returns null if the file does not exist.FileType
AbstractFileName. getType()
Returns the requested or current type of this name.FileType
AbstractFileObject. getType()
Returns the file's type.static FileType
UriParser. normalisePath(java.lang.StringBuilder path)
Normalises a path.Methods in org.apache.commons.vfs2.provider with parameters of type FileType Modifier and Type Method Description void
DelegateFileObject. attachChild(FileName baseName, FileType type)
Adds a child to this file.protected void
AbstractFileObject. childrenChanged(FileName childName, FileType newType)
Notifies the file that its children have changed.abstract FileName
AbstractFileName. createName(java.lang.String absolutePath, FileType fileType)
Factory method for creating name instances.FileName
GenericFileName. createName(java.lang.String absPath, FileType type)
Create a FileName.FileName
GenericURLFileName. createName(java.lang.String absPath, FileType type)
Creates a FileName.FileName
LayeredFileName. createName(java.lang.String path, FileType type)
Creates a FileName.FileName
URLFileName. createName(java.lang.String absPath, FileType type)
Deprecated.Create a FileName.protected void
AbstractFileObject. handleCreate(FileType newType)
Called when this file is created.protected void
AbstractFileObject. injectType(FileType fileType)
private void
DelegateFileObject. maybeTypeChanged(FileType oldType)
Checks whether the file's type has changed, and fires the appropriate events.private void
AbstractFileObject. notifyParent(FileName childName, FileType newType)
Notify the parent of a change to its children, when a child is created or deleted.protected void
AbstractFileObject. onChildrenChanged(FileName child, FileType newType)
Called when the children of this file change.private void
AbstractFileObject. setFileType(FileType type)
(package private) void
AbstractFileName. setType(FileType type)
Sets the type of this file e.g.Constructors in org.apache.commons.vfs2.provider with parameters of type FileType Constructor Description AbstractFileName(java.lang.String scheme, java.lang.String absPath, FileType type)
GenericFileName(java.lang.String scheme, java.lang.String hostName, int port, int defaultPort, java.lang.String userName, java.lang.String password, java.lang.String path, FileType type)
GenericURLFileName(java.lang.String scheme, java.lang.String hostName, int port, int defaultPort, java.lang.String userName, java.lang.String password, java.lang.String path, FileType type, java.lang.String queryString)
LayeredFileName(java.lang.String scheme, FileName outerUri, java.lang.String path, FileType type)
URLFileName(java.lang.String scheme, java.lang.String hostName, int port, int defaultPort, java.lang.String userName, java.lang.String password, java.lang.String path, FileType type, java.lang.String queryString)
Deprecated. -
Uses of FileType in org.apache.commons.vfs2.provider.compressed
Methods in org.apache.commons.vfs2.provider.compressed that return FileType Modifier and Type Method Description protected FileType
CompressedFileFileObject. doGetType()
Returns the file's type. -
Uses of FileType in org.apache.commons.vfs2.provider.ftp
Methods in org.apache.commons.vfs2.provider.ftp that return FileType Modifier and Type Method Description protected FileType
FtpFileObject. doGetType()
Determines the type of the file, returns null if the file does not exist.Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileType Modifier and Type Method Description protected void
FtpFileObject. onChildrenChanged(FileName child, FileType newType)
Called when the children of this file change. -
Uses of FileType in org.apache.commons.vfs2.provider.http4
Methods in org.apache.commons.vfs2.provider.http4 that return FileType Modifier and Type Method Description protected FileType
Http4FileObject. doGetType()
-
Uses of FileType in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local that return FileType Modifier and Type Method Description protected FileType
LocalFile. doGetType()
Returns the file's type.Methods in org.apache.commons.vfs2.provider.local with parameters of type FileType Modifier and Type Method Description protected FileName
GenericFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
protected abstract FileName
LocalFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
protected FileName
WindowsFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
FileName
LocalFileName. createName(java.lang.String path, FileType type)
Factory method for creating name instances.FileName
WindowsFileName. createName(java.lang.String path, FileType type)
Factory method for creating name instances.Constructors in org.apache.commons.vfs2.provider.local with parameters of type FileType Constructor Description LocalFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
WindowsFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
-
Uses of FileType in org.apache.commons.vfs2.provider.ram
Fields in org.apache.commons.vfs2.provider.ram declared as FileType Modifier and Type Field Description private FileType
RamFileData. type
File Type.Methods in org.apache.commons.vfs2.provider.ram that return FileType Modifier and Type Method Description protected FileType
RamFileObject. doGetType()
(package private) FileType
RamFileData. getType()
Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileType Modifier and Type Method Description protected void
RamFileObject. injectType(FileType fileType)
(package private) void
RamFileData. setType(FileType type)
-
Uses of FileType in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res with parameters of type FileType Modifier and Type Method Description protected FileName
ResourceFileNameParser. createFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
FileName
ResourceFileName. createName(java.lang.String path, FileType type)
Factory method for creating name instances.Constructors in org.apache.commons.vfs2.provider.res with parameters of type FileType Constructor Description ResourceFileName(java.lang.String scheme, java.lang.String path, FileType type)
-
Uses of FileType in org.apache.commons.vfs2.provider.sftp
Methods in org.apache.commons.vfs2.provider.sftp that return FileType Modifier and Type Method Description protected FileType
SftpFileObject. doGetType()
Determines the type of this file, returns null if the file does not exist. -
Uses of FileType in org.apache.commons.vfs2.provider.tar
Fields in org.apache.commons.vfs2.provider.tar declared as FileType Modifier and Type Field Description private FileType
TarFileObject. type
Methods in org.apache.commons.vfs2.provider.tar that return FileType Modifier and Type Method Description protected FileType
TarFileObject. doGetType()
Returns the file's type. -
Uses of FileType in org.apache.commons.vfs2.provider.url
Methods in org.apache.commons.vfs2.provider.url that return FileType Modifier and Type Method Description protected FileType
UrlFileObject. doGetType()
Determines the type of the file.Constructors in org.apache.commons.vfs2.provider.url with parameters of type FileType Constructor Description UrlFileName(java.lang.String scheme, java.lang.String hostName, int port, int defaultPort, java.lang.String userName, java.lang.String password, java.lang.String path, FileType type, java.lang.String queryString)
The constructor. -
Uses of FileType in org.apache.commons.vfs2.provider.zip
Fields in org.apache.commons.vfs2.provider.zip declared as FileType Modifier and Type Field Description private FileType
ZipFileObject. type
Methods in org.apache.commons.vfs2.provider.zip that return FileType Modifier and Type Method Description protected FileType
ZipFileObject. doGetType()
Returns the file's type.
-