Java org.apache.commons.vfs FileObject fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.vfs FileObject fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.vfs FileObject.

The text is from its open source code.

Implementation

org.apache.commons.vfs.FileObject has the following implementations.
Click this link to see all its implementation.

Method

booleancanRenameTo(FileObject newfile)
Queries the file if it is possible to rename it to newfile.
voidclose()
Closes this file, and its content.
voidcopyFrom(FileObject srcFile, FileSelector selector)
Copies another file, and all its descendents, to this file.
voidcreateFile()
Creates this file, if it does not exist.
voidcreateFolder()
Creates this folder, if it does not exist.
intdelete(FileSelector selector)
Deletes all descendents of this file that match a selector.
booleandelete()
Deletes this file.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
booleanexists()
Determines if this file exists.
FileObject[]findFiles(FileSelector selector)
Finds the set of matching descendents of this file, in depthwise order.
voidfindFiles(FileSelector selector, boolean depthwise, List selected)
Finds the set of matching descendents of this file.
FileObjectgetChild(String name)
Returns a child of this file.
FileObject[]getChildren()
Lists the children of this file.
ClassgetClass()
Returns the runtime class of this Object .
FileContentgetContent()
Returns this file's content.
FileSystemgetFileSystem()
Returns the file system that contains this file.
FileNamegetName()
Returns the name of this file.
FileObjectgetParent()
Returns the folder that contains this file.
FileTypegetType()
Returns this file's type.
URLgetURL()
Returns a URL representing this file.
inthashCode()
Returns a hash code value for the object.
booleanisAttached()
check if the fileObject is attaced
booleanisHidden()
Determines if this file is hidden.
booleanisReadable()
Determines if this file can be read.
booleanisWriteable()
Determines if this file can be written to.
voidmoveTo(FileObject destFile)
Move this file.
voidrefresh()
This will prepare the fileObject to get resynchronized with the underlaying filesystem if required
FileObjectresolveFile(String name, NameScope scope)
Finds a file, relative to this file.
FileObjectresolveFile(String path)
Finds a file, relative to this file.
StringtoString()
Returns a string representation of the object.