Modifier and Type | Method and 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(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.
|
Constructor and Description |
---|
FileTypeSelector(FileType type)
Creates a new selector for the given file type.
|
Modifier and Type | Method and Description |
---|---|
FileType |
OnCallRefreshFileObject.getType() |
Modifier and Type | Method and Description |
---|---|
FileType |
SynchronizedFileObject.getType() |
FileType |
DecoratedFileObject.getType() |
Modifier and Type | Method and Description |
---|---|
FileName |
VirtualFileName.createName(String absPath,
FileType type) |
Constructor and Description |
---|
VirtualFileName(String scheme,
String absPath,
FileType type) |
Modifier and Type | Method and 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 |
AbstractFileObject.getType()
Returns the file's type.
|
FileType |
AbstractFileName.getType()
Returns the requested or current type of this name.
|
static FileType |
UriParser.normalisePath(StringBuilder path)
Normalises a path.
|
Modifier and Type | Method and 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(String absolutePath,
FileType fileType)
Factory method for creating name instances.
|
FileName |
GenericFileName.createName(String absPath,
FileType type)
Create a FileName.
|
FileName |
URLFileName.createName(String absPath,
FileType type)
Deprecated.
Create a FileName.
|
FileName |
LayeredFileName.createName(String path,
FileType type)
Creates a FileName.
|
FileName |
GenericURLFileName.createName(String absPath,
FileType type)
Creates a FileName.
|
protected void |
AbstractFileObject.handleCreate(FileType newType)
Called when this file is created.
|
protected void |
AbstractFileObject.injectType(FileType fileType) |
protected void |
AbstractFileObject.onChildrenChanged(FileName child,
FileType newType)
Called when the children of this file change.
|
Constructor and Description |
---|
AbstractFileName(String scheme,
String absPath,
FileType type) |
GenericFileName(String scheme,
String hostName,
int port,
int defaultPort,
String userName,
String password,
String path,
FileType type) |
GenericURLFileName(String scheme,
String hostName,
int port,
int defaultPort,
String userName,
String password,
String path,
FileType type,
String queryString) |
LayeredFileName(String scheme,
FileName outerUri,
String path,
FileType type) |
URLFileName(String scheme,
String hostName,
int port,
int defaultPort,
String userName,
String password,
String path,
FileType type,
String queryString)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
CompressedFileFileObject.doGetType()
Returns the file's type.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
FtpFileObject.doGetType()
Determines the type of the file, returns null if the file does not exist.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FtpFileObject.onChildrenChanged(FileName child,
FileType newType)
Called when the children of this file change.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
HdfsFileObject.doGetType() |
Modifier and Type | Method and Description |
---|---|
protected FileType |
HttpFileObject.doGetType()
Determines the type of this file.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
Http4FileObject.doGetType() |
Modifier and Type | Method and Description |
---|---|
protected FileType |
Http5FileObject.doGetType() |
Modifier and Type | Method and Description |
---|---|
protected FileType |
LocalFile.doGetType()
Returns the file's type.
|
Modifier and Type | Method and Description |
---|---|
protected FileName |
WindowsFileNameParser.createFileName(String scheme,
String rootFile,
String path,
FileType type) |
protected abstract FileName |
LocalFileNameParser.createFileName(String scheme,
String rootFile,
String path,
FileType type) |
protected FileName |
GenericFileNameParser.createFileName(String scheme,
String rootFile,
String path,
FileType type) |
FileName |
WindowsFileName.createName(String path,
FileType type)
Factory method for creating name instances.
|
FileName |
LocalFileName.createName(String path,
FileType type)
Factory method for creating name instances.
|
Constructor and Description |
---|
LocalFileName(String scheme,
String rootFile,
String path,
FileType type) |
WindowsFileName(String scheme,
String rootFile,
String path,
FileType type) |
Modifier and Type | Method and Description |
---|---|
protected FileType |
RamFileObject.doGetType() |
Modifier and Type | Method and Description |
---|---|
protected void |
RamFileObject.injectType(FileType fileType) |
Modifier and Type | Method and Description |
---|---|
protected FileName |
ResourceFileNameParser.createFileName(String scheme,
String rootFile,
String path,
FileType type) |
FileName |
ResourceFileName.createName(String path,
FileType type)
Factory method for creating name instances.
|
Constructor and Description |
---|
ResourceFileName(String scheme,
String path,
FileType type) |
Modifier and Type | Method and Description |
---|---|
protected FileType |
SftpFileObject.doGetType()
Determines the type of this file, returns null if the file does not exist.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
TarFileObject.doGetType()
Returns the file's type.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
UrlFileObject.doGetType()
Determines the type of the file.
|
Constructor and Description |
---|
UrlFileName(String scheme,
String hostName,
int port,
int defaultPort,
String userName,
String password,
String path,
FileType type,
String queryString)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected FileType |
ZipFileObject.doGetType()
Returns the file's type.
|
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.