Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Z
A
AbstractFileVisitor
- Class in
net.sf.cotta
AbstractFileVisitor()
- Constructor for class net.sf.cotta.
AbstractFileVisitor
AbstractFileVisitor(boolean)
- Constructor for class net.sf.cotta.
AbstractFileVisitor
accept(TDirectory)
- Method in interface net.sf.cotta.
TDirectoryFilter
accept(TFile)
- Method in interface net.sf.cotta.
TFileFilter
returns true if the file passes the filter
addDirectoryPath(TPath)
- Method in class net.sf.cotta.
PathContent
Add a path of the directory
addFilePath(TPath)
- Method in class net.sf.cotta.
PathContent
Add a path of the file
ALL
- Static variable in interface net.sf.cotta.
TDirectoryFilter
ALL
- Static variable in interface net.sf.cotta.
TEntryFilter
A filter tat returns all entrise
ALL
- Static variable in interface net.sf.cotta.
TFileFilter
Accept all files
APPEND
- Static variable in class net.sf.cotta.io.
OutputMode
append(byte)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
append(byte[], int, int)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
Faster performing method, output stream should delegate to it (comment above).
append(byte[])
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
Faster performing method, output stream should delegate to it (comment above).
append(String)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
This works for the default charset only:
String str = ""+(char)1077+(char)1078; //UTF-8 System.out.println((int)str.charAt(0)); //1077 str = new String(str.getBytes(), "UTF-8"); System.out.println((int)str.charAt(0)); //63, no UTF-8 any longer
append(String, String)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
This one converts to the proper charset.
append(OutputProcessor)
- Method in class net.sf.cotta.
TFile
AToZ
- Static variable in interface net.sf.cotta.memory.
ListingOrder
Sort in the order in which a appears before z
B
basename()
- Method in class net.sf.cotta.
TFile
bufferedReader()
- Method in class net.sf.cotta.io.
InputFactory
bufferedReader()
- Method in class net.sf.cotta.io.
InputManager
bufferedReader()
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
bufferedReader()
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
bufferedWriter(OutputMode)
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
bufferedWriter(OutputMode)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
bufferedWriter()
- Method in class net.sf.cotta.io.
OutputFactory
bufferedWriter()
- Method in class net.sf.cotta.io.
OutputManager
build()
- Method in class net.sf.cotta.utils.
VersionNumber
ByteArrayBuffer
- Class in
net.sf.cotta.memory
Faster performing ByteArrayBuffer using the ByteArrayOutputStream as a backing up stream.
ByteArrayBuffer(byte[])
- Constructor for class net.sf.cotta.memory.
ByteArrayBuffer
ByteArrayBuffer(byte[], int)
- Constructor for class net.sf.cotta.memory.
ByteArrayBuffer
ByteArrayBuffer()
- Constructor for class net.sf.cotta.memory.
ByteArrayBuffer
ByteArrayBuffer(int)
- Constructor for class net.sf.cotta.memory.
ByteArrayBuffer
ByteArrayBuffer(int, int)
- Constructor for class net.sf.cotta.memory.
ByteArrayBuffer
ByteArrayIndexOutOfBoundsException
- Exception in
net.sf.cotta
ByteArrayIndexOutOfBoundsException(int, int)
- Constructor for exception net.sf.cotta.
ByteArrayIndexOutOfBoundsException
byteAt(long)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
byteAt(int)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
C
canConvertUrl(URL)
- Static method in class net.sf.cotta.
TFileFactory
The method to check is an URL can be converted to TFile or TDirectory
CatastrophicFileSystem
- Class in
net.sf.cotta
CatastrophicFileSystem()
- Constructor for class net.sf.cotta.
CatastrophicFileSystem
channel()
- Method in class net.sf.cotta.io.
InputManager
ClassCollector
- Class in
net.sf.cotta.utils
ClassCollector(TDirectory, String)
- Constructor for class net.sf.cotta.utils.
ClassCollector
ClassCollector(TDirectory, String, TFileFilter)
- Constructor for class net.sf.cotta.utils.
ClassCollector
ClassPath
- Class in
net.sf.cotta.utils
Deprecated.
use ClassPathEntry
ClassPath(TDirectory)
- Constructor for class net.sf.cotta.utils.
ClassPath
Deprecated.
ClassPath(TFile)
- Constructor for class net.sf.cotta.utils.
ClassPath
Deprecated.
ClassPathEntry
- Class in
net.sf.cotta.utils
ClassPathEntry(TDirectory)
- Constructor for class net.sf.cotta.utils.
ClassPathEntry
ClassPathEntry(TFile)
- Constructor for class net.sf.cotta.utils.
ClassPathEntry
ClassPathEntryLocator
- Class in
net.sf.cotta.utils
ClassPathEntryLocator(Class)
- Constructor for class net.sf.cotta.utils.
ClassPathEntryLocator
ClassPathEntryLocator(String)
- Constructor for class net.sf.cotta.utils.
ClassPathEntryLocator
ClassPathEntryProcessor
- Interface in
net.sf.cotta.utils
ClassPathLocator
- Class in
net.sf.cotta.utils
Deprecated.
use ClassPathEntryLocator
ClassPathLocator(Class)
- Constructor for class net.sf.cotta.utils.
ClassPathLocator
Deprecated.
ClassPathLocator(String)
- Constructor for class net.sf.cotta.utils.
ClassPathLocator
Deprecated.
ClassPathType
- Class in
net.sf.cotta.utils
clean(MappedByteBuffer)
- Method in class net.sf.cotta.io.
InputManager
Clean up the mapped byte buffer so that the mapped file can be accessed.
close()
- Method in interface net.sf.cotta.
TResource
close()
- Method in class net.sf.cotta.zip.
ZipFileSystem
closeResource()
- Method in class net.sf.cotta.utils.
ClassPathEntry
Close the resource.
collectNames()
- Method in class net.sf.cotta.utils.
ClassCollector
compare(TPath, TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
compare(TPath, TPath)
- Method in interface net.sf.cotta.
FileSystem
Compares the two path
compare(TPath, TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
compare(TPath, TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
compare(TPath, TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
compareTo(TEntry)
- Method in class net.sf.cotta.
TEntry
compareTo(TPath)
- Method in class net.sf.cotta.
TPath
Compare two path by comparing each elements.
ControlledFileSystem
- Class in
net.sf.cotta
A file system that delegates all file operations to a controller
ControlledFileSystem(FileSystem, ControlledFileSystem.Controller)
- Constructor for class net.sf.cotta.
ControlledFileSystem
ControlledFileSystem.Controller
- Interface in
net.sf.cotta
ControlledFileSystem.PermissionController
- Class in
net.sf.cotta
ControlledFileSystem.PermissionController()
- Constructor for class net.sf.cotta.
ControlledFileSystem.PermissionController
controller
- Variable in class net.sf.cotta.
ControlledFileSystem
copyFrom(ByteBuffer)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
copyTo(ByteBuffer, int, int)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
copyTo(WritableByteChannel, long, long)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
copyTo(TFile)
- Method in class net.sf.cotta.
TFile
copyTo(OutputStream)
- Method in class net.sf.cotta.
TFile
create()
- Method in class net.sf.cotta.
TFile
createDir(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
createDir(TPath)
- Method in interface net.sf.cotta.
FileSystem
createDir(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
createDir(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
createDir(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
createFile(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
createFile(TPath)
- Method in interface net.sf.cotta.
FileSystem
Create file pointed by the given path
createFile(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
createFile(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
createFile(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
createInputChannel(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
createInputChannel(TPath)
- Method in interface net.sf.cotta.
FileSystem
createInputChannel(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
createInputChannel(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
createInputChannel(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
createInputStream(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
createInputStream(TPath)
- Method in interface net.sf.cotta.
FileSystem
createInputStream(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
createInputStream(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
createInputStream(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
createOutputChannel(TPath, OutputStream)
- Method in class net.sf.cotta.
ControlledFileSystem
createOutputChannel(TPath, OutputStream)
- Method in interface net.sf.cotta.
FileSystem
createOutputChannel(TPath, OutputStream)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
createOutputChannel(TPath, OutputStream)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
createOutputChannel(TPath, OutputStream)
- Method in class net.sf.cotta.zip.
ZipFileSystem
createOutputStream(TPath, OutputMode)
- Method in class net.sf.cotta.
ControlledFileSystem
createOutputStream(TPath, OutputMode)
- Method in interface net.sf.cotta.
FileSystem
createOutputStream(TPath, OutputMode)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
createOutputStream(TPath, OutputMode)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
createOutputStream(TPath, OutputMode)
- Method in class net.sf.cotta.zip.
ZipFileSystem
D
defaultEncoding()
- Method in class net.sf.cotta.
TFileFactory
delete()
- Method in class net.sf.cotta.
TDirectory
Delete the current directory.
delete()
- Method in class net.sf.cotta.
TFile
deleteAll()
- Method in class net.sf.cotta.
TDirectory
Delete the whole directory tree
deleteDirectory(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
deleteDirectory(TPath)
- Method in interface net.sf.cotta.
FileSystem
deleteDirectory(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
deleteDirectory(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
deleteDirectory(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
deleteFile(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
deleteFile(TPath)
- Method in interface net.sf.cotta.
FileSystem
deleteFile(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
deleteFile(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
deleteFile(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
describe(StringBuffer)
- Method in class net.sf.cotta.
ControlledFileSystem.PermissionController
dir(String)
- Method in class net.sf.cotta.
TDirectory
Constructs a subdirectory given the directory name
dir(TPath)
- Method in class net.sf.cotta.
TDirectory
Constructs a directory given the relative path to the current directory
dir(String)
- Method in class net.sf.cotta.
TFileFactory
Create the TDirectory that is represented by the path and backed by the file system
dir(TPath)
- Method in class net.sf.cotta.
TFileFactory
Create the TDirectory that is repersented by the path and backed by the file system
dir(File)
- Static method in class net.sf.cotta.
TFileFactory
DIRECTORY
- Static variable in class net.sf.cotta.utils.
ClassPathType
directoryFromJavaFile(File)
- Static method in class net.sf.cotta.
TFileFactory
Deprecated.
use #physicalDir
dirExists(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
dirExists(TPath)
- Method in interface net.sf.cotta.
FileSystem
dirExists(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
dirExists(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
dirExists(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
dirs()
- Method in class net.sf.cotta.
PathContent
Get the list of the paths of the directories
dirs()
- Method in class net.sf.cotta.
TDirectoryListing
diskErrorFor(TPath)
- Method in class net.sf.cotta.
CatastrophicFileSystem
diskFull()
- Method in class net.sf.cotta.
CatastrophicFileSystem
E
ensureExists()
- Method in class net.sf.cotta.
TDirectory
ensureExists()
- Method in class net.sf.cotta.
TFile
entries()
- Method in class net.sf.cotta.
TDirectoryListing
equals(TPath, TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
equals(TPath, TPath)
- Method in interface net.sf.cotta.
FileSystem
Check if two paths are equal.
equals(TPath, TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
equals(TPath, TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
equals(Object)
- Method in class net.sf.cotta.
TEntry
equals(Object)
- Method in class net.sf.cotta.
TPath
equals(TPath, TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
exists()
- Method in class net.sf.cotta.
TDirectory
exists()
- Method in class net.sf.cotta.
TEntry
exists()
- Method in class net.sf.cotta.
TFile
extname()
- Method in class net.sf.cotta.
TFile
F
factory()
- Method in class net.sf.cotta.
TEntry
file(String)
- Method in class net.sf.cotta.
TDirectory
Constucts a file given the path.
file(TPath)
- Method in class net.sf.cotta.
TDirectory
Constructs a file given the relative path.
file(String)
- Method in class net.sf.cotta.
TFileFactory
Create the TFile that is represented by the path and backed by the file system
file(TPath)
- Method in class net.sf.cotta.
TFileFactory
Create the TFile that is repsented by the path and backed by the file system
file(File)
- Static method in class net.sf.cotta.
TFileFactory
FILE
- Static variable in class net.sf.cotta.utils.
ClassPathType
fileExists(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
fileExists(TPath)
- Method in interface net.sf.cotta.
FileSystem
fileExists(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
fileExists(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
fileExists(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
fileFromJavaFile(File)
- Static method in class net.sf.cotta.
TFileFactory
Deprecated.
use file(java.io.File)
fileFromUrl(URL)
- Static method in class net.sf.cotta.
TFileFactory
Create a TFile instance is represented by URL.
fileLastModified(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
fileLastModified(TPath)
- Method in interface net.sf.cotta.
FileSystem
fileLastModified(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
fileLastModified(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
fileLastModified(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
fileLength(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
fileLength(TPath)
- Method in interface net.sf.cotta.
FileSystem
fileLength(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
fileLength(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
fileLength(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
files()
- Method in class net.sf.cotta.
PathContent
Get the list of the paths of the files
files()
- Method in class net.sf.cotta.
TDirectoryListing
FileSystem
- Interface in
net.sf.cotta
The file system that handles the implementation of the file operations
filesystem()
- Method in class net.sf.cotta.
TEntry
FileVisitor
- Interface in
net.sf.cotta
filteredBy(TFileFilter)
- Method in class net.sf.cotta.
TDirectoryListing
Sets filter for file
filteredBy(TDirectoryFilter)
- Method in class net.sf.cotta.
TDirectoryListing
Sets filter for directory
filteredBy(TDirectoryFilter, TFileFilter)
- Method in class net.sf.cotta.
TDirectoryListing
Sets filter for file and directory
forClass(Class)
- Static method in class net.sf.cotta.utils.
ProductInfo
G
getBound()
- Method in exception net.sf.cotta.
ByteArrayIndexOutOfBoundsException
getJavaFile()
- Method in class net.sf.cotta.
TDirectory
Deprecated.
use #toJavaFile()
getPath()
- Method in exception net.sf.cotta.
TIoException
getPath()
- Method in exception net.sf.cotta.
TIoRuntimeException
getPosition()
- Method in exception net.sf.cotta.
ByteArrayIndexOutOfBoundsException
getValue()
- Method in class net.sf.cotta.
PathSeparator
goToClassPathRootDirectory(URL)
- Method in class net.sf.cotta.utils.
ClassPathEntryLocator
H
hashCode(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
hashCode(TPath)
- Method in interface net.sf.cotta.
FileSystem
Returns the hash code for the path
hashCode(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
hashCode(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
hashCode()
- Method in class net.sf.cotta.
TEntry
hashCode()
- Method in class net.sf.cotta.
TPath
hashCode(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
I
INCREMENT
- Static variable in class net.sf.cotta.memory.
ByteArrayBuffer
Info
- Class in
net.sf.cotta
Info()
- Constructor for class net.sf.cotta.
Info
info(PrintStream)
- Method in class net.sf.cotta.utils.
ProductInfo
info(PrintStream)
- Method in class net.sf.cotta.utils.
VersionNumber
inMemory()
- Static method in class net.sf.cotta.
TFileFactory
Creates a file factory with in-memory file system.
InMemoryFileSystem
- Class in
net.sf.cotta.memory
InMemoryFileSystem()
- Constructor for class net.sf.cotta.memory.
InMemoryFileSystem
InMemoryFileSystem(ListingOrder)
- Constructor for class net.sf.cotta.memory.
InMemoryFileSystem
InMemoryFileSystem(PathSeparator)
- Constructor for class net.sf.cotta.memory.
InMemoryFileSystem
InMemoryFileSystem(PathSeparator, ListingOrder)
- Constructor for class net.sf.cotta.memory.
InMemoryFileSystem
Input
- Class in
net.sf.cotta.io
Input processing class used to expose the API in the right context
Input(InputManager)
- Constructor for class net.sf.cotta.io.
Input
inputChannel()
- Method in class net.sf.cotta.io.
InputFactory
inputChannel()
- Method in interface net.sf.cotta.io.
InputStreamFactory
inputChannel()
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
inputChannel()
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
inputChannel()
- Method in class net.sf.cotta.
TFile
Creates the input channel for the file
InputFactory
- Class in
net.sf.cotta.io
InputFactory(InputStreamFactory, String)
- Constructor for class net.sf.cotta.io.
InputFactory
InputManager
- Class in
net.sf.cotta.io
InputManager for input resource management.
InputManager(InputStreamFactory, String)
- Constructor for class net.sf.cotta.io.
InputManager
InputProcessor
- Interface in
net.sf.cotta.io
inputStream()
- Method in class net.sf.cotta.io.
InputFactory
inputStream()
- Method in class net.sf.cotta.io.
InputManager
inputStream()
- Method in interface net.sf.cotta.io.
InputStreamFactory
inputStream()
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
inputStream()
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
inputStream()
- Method in class net.sf.cotta.
TFile
Create the input stream
InputStreamFactory
- Interface in
net.sf.cotta.io
instance
- Static variable in class net.sf.cotta.physical.
PhysicalFileSystem
io()
- Method in class net.sf.cotta.
TFile
Deprecated.
use TFile itself is more effective
IoFactory
- Class in
net.sf.cotta.io
Deprecated.
use InputFactory or OutputFactory
IoFactory(StreamFactory)
- Constructor for class net.sf.cotta.io.
IoFactory
Deprecated.
IoFactory(StreamFactory, String)
- Constructor for class net.sf.cotta.io.
IoFactory
Deprecated.
IoManager
- Class in
net.sf.cotta.io
Deprecated.
use InputManager or OutputManager
IoManager(StreamFactory)
- Constructor for class net.sf.cotta.io.
IoManager
Deprecated.
IoManager(StreamFactory, String)
- Constructor for class net.sf.cotta.io.
IoManager
Deprecated.
IoProcessor
- Interface in
net.sf.cotta.io
Deprecated.
use InputProcessor or OutputProcessor
IoResource
- Interface in
net.sf.cotta.io
Deprecated.
use java.io.Closeable
isAppend()
- Method in class net.sf.cotta.io.
OutputMode
isChildOf(TDirectory)
- Method in class net.sf.cotta.
TEntry
isChildOf(TPath)
- Method in class net.sf.cotta.
TPath
Check if current path is the child of the given path.
isOverwrite()
- Method in class net.sf.cotta.io.
OutputMode
isRelative()
- Method in class net.sf.cotta.
TPath
Check is the current path is a relative path or absolute path
iterator()
- Method in class net.sf.cotta.
TDirectoryListing
J
join(String)
- Method in class net.sf.cotta.
TPath
Join with an pat element to form a new path.
join(TPath)
- Method in class net.sf.cotta.
TPath
Join with another relative path.
L
lastElementName()
- Method in class net.sf.cotta.
TPath
The name of the last element, used by TFile and TDirectory to get the name
lastModified()
- Method in class net.sf.cotta.
TFile
length()
- Method in class net.sf.cotta.
TFile
lineNumberReader()
- Method in class net.sf.cotta.io.
InputFactory
lineNumberReader()
- Method in class net.sf.cotta.io.
InputManager
lineNumberReader()
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
lineNumberReader()
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
LineProcessor
- Interface in
net.sf.cotta.io
list(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
list(TPath)
- Method in interface net.sf.cotta.
FileSystem
List the content of the path
list(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
list(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
list()
- Method in class net.sf.cotta.
TDirectory
List the current directory
list(TEntryFilter)
- Method in class net.sf.cotta.
TDirectory
List the current directory with entry filter
list(TFileFilter)
- Method in class net.sf.cotta.
TDirectory
List the current directory with file filter
list(TDirectoryFilter)
- Method in class net.sf.cotta.
TDirectory
List the current directory with directory filter
list(TDirectoryFilter, TFileFilter)
- Method in class net.sf.cotta.
TDirectory
List the current directory with file filter and directory filter
list(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
listDirs()
- Method in class net.sf.cotta.
TDirectory
Deprecated.
use list().dirs()
listDirs(TDirectoryFilter)
- Method in class net.sf.cotta.
TDirectory
Deprecated.
use list(directoryFilter).dirs()
listFiles()
- Method in class net.sf.cotta.
TDirectory
Deprecated.
listFiles(TFileFilter)
- Method in class net.sf.cotta.
TDirectory
Deprecated.
use list(fileFilter).files()
ListingOrder
- Interface in
net.sf.cotta.memory
Listing order used to sort the listing to return
load()
- Method in class net.sf.cotta.
TFile
Load the content of the file into string using system default encoding
loadedPath()
- Method in class net.sf.cotta.utils.
ProductInfo
loadTests()
- Method in class net.sf.cotta.test.
TestLoader
locate()
- Method in class net.sf.cotta.utils.
ClassPathLocator
Deprecated.
locateEntry()
- Method in class net.sf.cotta.utils.
ClassPathEntryLocator
lockFile(TPath)
- Method in class net.sf.cotta.
CatastrophicFileSystem
lockFile(TPath, int)
- Method in class net.sf.cotta.
CatastrophicFileSystem
M
main(String[])
- Static method in class net.sf.cotta.
Info
mainAttributeValue(String)
- Method in class net.sf.cotta.utils.
ProductInfo
mergeTo(TDirectory)
- Method in class net.sf.cotta.
TDirectory
moveDirectory(TPath, TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
moveDirectory(TPath, TPath)
- Method in interface net.sf.cotta.
FileSystem
moveDirectory(TPath, TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
moveDirectory(TPath, TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
moveDirectory(TPath, TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
moveFile(TPath, TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
moveFile(TPath, TPath)
- Method in interface net.sf.cotta.
FileSystem
moveFile(TPath, TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
moveFile(TPath, TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
moveFile(TPath, TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
moveTo(TDirectory)
- Method in class net.sf.cotta.
TDirectory
moveTo(TFile)
- Method in class net.sf.cotta.
TFile
N
name()
- Method in class net.sf.cotta.
TEntry
net.sf.cotta
- package net.sf.cotta
net.sf.cotta.io
- package net.sf.cotta.io
net.sf.cotta.memory
- package net.sf.cotta.memory
net.sf.cotta.physical
- package net.sf.cotta.physical
net.sf.cotta.test
- package net.sf.cotta.test
net.sf.cotta.utils
- package net.sf.cotta.utils
net.sf.cotta.zip
- package net.sf.cotta.zip
NONE
- Static variable in interface net.sf.cotta.
TDirectoryFilter
A filter that filters all files
NONE
- Static variable in interface net.sf.cotta.
TEntryFilter
A filter that returns no entries
NONE
- Static variable in interface net.sf.cotta.
TFileFilter
NULL
- Static variable in interface net.sf.cotta.memory.
ListingOrder
NULL value that does not do any sorting.
NULL
- Static variable in interface net.sf.cotta.
TDirectoryFilter
NULL
- Static variable in interface net.sf.cotta.
TEntryFilter
Null value, which is the same as ALL
NULL
- Static variable in interface net.sf.cotta.
TFileFilter
Null value for TFileFilter that accepts all files
NULL
- Static variable in interface net.sf.cotta.
TResource
O
open(IoProcessor)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
open(P)
- Method in class net.sf.cotta.io.
ResourceManager
open(IoProcessor)
- Method in class net.sf.cotta.
TFile
Deprecated.
use read(), write(), and append() instead
open(LineProcessor)
- Method in class net.sf.cotta.
TFile
Deprecated.
use #read(LineProcessor)
openAsDirectory()
- Method in class net.sf.cotta.utils.
ClassPathEntry
Use the class path entry as a TDirectory.
ordered()
- Method in class net.sf.cotta.
TDirectoryListing
Sets the ordered flag to true
otherAttributeValue(String, String)
- Method in class net.sf.cotta.utils.
ProductInfo
Output
- Class in
net.sf.cotta.io
Output(OutputManager)
- Constructor for class net.sf.cotta.io.
Output
OutputFactory
- Class in
net.sf.cotta.io
OutputFactory(OutputStreamFactory, String)
- Constructor for class net.sf.cotta.io.
OutputFactory
OutputManager
- Class in
net.sf.cotta.io
Output resource management class to be used through
Output
OutputManager(OutputStreamFactory, String)
- Constructor for class net.sf.cotta.io.
OutputManager
OutputMode
- Class in
net.sf.cotta.io
OutputMode(boolean)
- Constructor for class net.sf.cotta.io.
OutputMode
OutputProcessor
- Interface in
net.sf.cotta.io
outputStream(OutputMode)
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
outputStream(OutputMode)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
outputStream()
- Method in class net.sf.cotta.io.
OutputFactory
outputStream()
- Method in class net.sf.cotta.io.
OutputManager
outputStream()
- Method in interface net.sf.cotta.io.
OutputStreamFactory
outputStream(OutputMode)
- Method in interface net.sf.cotta.io.
StreamFactory
Deprecated.
outputStream(OutputMode)
- Method in class net.sf.cotta.
TFile
Create the output stream
OutputStreamFactory
- Interface in
net.sf.cotta.io
OVERWRITE
- Static variable in class net.sf.cotta.io.
OutputMode
P
parent()
- Method in class net.sf.cotta.
TEntry
parent()
- Method in class net.sf.cotta.
TPath
The path of the parent, used by TFile and TDirectory to get the parent
parse(InputManager)
- Method in interface net.sf.cotta.
Parser
parse(Parser<T>)
- Method in class net.sf.cotta.
TFile
Parse the file into an object
parse(String)
- Static method in class net.sf.cotta.
TPath
Parses a path string into a TPath object.
Parser
<
T
> - Interface in
net.sf.cotta
path()
- Method in class net.sf.cotta.io.
InputFactory
path()
- Method in class net.sf.cotta.io.
InputManager
path()
- Method in interface net.sf.cotta.io.
InputStreamFactory
path()
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
path()
- Method in class net.sf.cotta.io.
OutputFactory
path()
- Method in class net.sf.cotta.io.
OutputManager
path()
- Method in interface net.sf.cotta.io.
OutputStreamFactory
path()
- Method in class net.sf.cotta.io.
ResourceManager
path
- Variable in class net.sf.cotta.
TEntry
path()
- Method in class net.sf.cotta.
TEntry
Ssystem specific path string For example, on physical system the path separator will be OS specific
path()
- Method in class net.sf.cotta.utils.
ClassPathEntry
PathContent
- Class in
net.sf.cotta
A value object holds a list of path for files and a list of path for directories.
PathContent(int)
- Constructor for class net.sf.cotta.
PathContent
Create an empty path content.
PathContent(Collection<TPath>, Collection<TPath>)
- Constructor for class net.sf.cotta.
PathContent
Create path content directly with the two lists
pathControlledFileSystem(FileSystem, TPath)
- Static method in class net.sf.cotta.
ControlledFileSystem
pathFrom(TDirectory)
- Method in class net.sf.cotta.
TEntry
pathFrom(TPath)
- Method in class net.sf.cotta.
TPath
Dericve the relative path from the other path, to be used by TFile and TDirectory
PathSeparator
- Class in
net.sf.cotta
pathString(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
pathString(TPath)
- Method in interface net.sf.cotta.
FileSystem
pathString(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
pathString(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
pathString(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
PermissionDeniedException
- Exception in
net.sf.cotta
PermissionDeniedException(TPath, String)
- Constructor for exception net.sf.cotta.
PermissionDeniedException
physical()
- Static method in class net.sf.cotta.
TFileFactory
Retruns the shared file factory for the physical file system
PHYSICAL_FILE_FACTORY
- Static variable in class net.sf.cotta.
TFileFactory
Deprecated.
use TFileFactory#phylical instead. This will become private
physicalDir(String)
- Static method in class net.sf.cotta.
TFileFactory
physicalDir(File)
- Static method in class net.sf.cotta.
TFileFactory
physicalFile(String)
- Static method in class net.sf.cotta.
TFileFactory
physicalFile(File)
- Static method in class net.sf.cotta.
TFileFactory
PhysicalFileSystem
- Class in
net.sf.cotta.physical
File system that represents the physical file.
printWriter(OutputMode)
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
printWriter(OutputMode)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
printWriter()
- Method in class net.sf.cotta.io.
OutputFactory
printWriter()
- Method in class net.sf.cotta.io.
OutputManager
process(InputProcessor)
- Method in class net.sf.cotta.io.
InputManager
process(InputManager)
- Method in interface net.sf.cotta.io.
InputProcessor
process(IoManager)
- Method in interface net.sf.cotta.io.
IoProcessor
Deprecated.
Process the io
process(String)
- Method in interface net.sf.cotta.io.
LineProcessor
process(OutputProcessor)
- Method in class net.sf.cotta.io.
OutputManager
process(OutputManager)
- Method in interface net.sf.cotta.io.
OutputProcessor
process(P)
- Method in class net.sf.cotta.io.
ResourceManager
process(TDirectory)
- Method in interface net.sf.cotta.utils.
ClassPathEntryProcessor
ProductInfo
- Class in
net.sf.cotta.utils
ProductInfo(ClassPathEntry)
- Constructor for class net.sf.cotta.utils.
ProductInfo
R
Random
- Static variable in interface net.sf.cotta.memory.
ListingOrder
Sort in random order.
read(InputProcessor)
- Method in class net.sf.cotta.io.
Input
Read the file with an input processor
read(InputProcessor)
- Method in class net.sf.cotta.
TFile
Read the file with a input processor
read(LineProcessor)
- Method in class net.sf.cotta.
TFile
Read the file with a line processor
read(ClassPathEntryProcessor)
- Method in class net.sf.cotta.utils.
ClassPathEntry
Opens the class path entry, process its content, and close the resource
reader()
- Method in class net.sf.cotta.io.
InputFactory
Create a Reader using the default encoding
reader(String)
- Method in class net.sf.cotta.io.
InputFactory
Create a Reader using the provided encoding
reader()
- Method in class net.sf.cotta.io.
InputManager
reader(String)
- Method in class net.sf.cotta.io.
InputManager
reader()
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
Create a Reader using the default encoding
reader(String)
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
Create a Reader using the provided encoding
reader()
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
reader(String)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
readLines(LineProcessor)
- Method in class net.sf.cotta.io.
Input
Read the file with a line processor
readOnlyFileSystem(FileSystem)
- Static method in class net.sf.cotta.
ControlledFileSystem
readOnlyZipFileSystem(File)
- Static method in class net.sf.cotta.zip.
ZipFileSystem
readOperationControl(TPath)
- Method in interface net.sf.cotta.
ControlledFileSystem.Controller
readOperationControl(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem.PermissionController
registerResource(Closeable)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
registerResource(Closeable)
- Method in class net.sf.cotta.io.
ResourceManager
ResourceManager
<
P
> - Class in
net.sf.cotta.io
resource manager that handles the resource management.
ResourceManager()
- Constructor for class net.sf.cotta.io.
ResourceManager
ResourceManager(List<Closeable>)
- Constructor for class net.sf.cotta.io.
ResourceManager
resourceString
- Variable in class net.sf.cotta.utils.
ClassPathEntryLocator
S
save(String)
- Method in class net.sf.cotta.
TFile
Saves the content to the file
setFileInitialCapacity(int)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
setFileSizeIncrement(int)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
size()
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
sort(List<TPath>)
- Method in interface net.sf.cotta.memory.
ListingOrder
Sort the list being passed in.
StreamFactory
- Interface in
net.sf.cotta.io
Deprecated.
use InputStreamFactory, OutputStreamFactory or TFile itself
T
TDirectory
- Class in
net.sf.cotta
The class that represent the directory.
TDirectory(FileSystem, TPath)
- Constructor for class net.sf.cotta.
TDirectory
Deprecated.
Use the other constructor for default encoding support in TFileFactory
TDirectory(TFileFactory, TPath)
- Constructor for class net.sf.cotta.
TDirectory
TDirectoryFilter
- Interface in
net.sf.cotta
TDirectoryListing
- Class in
net.sf.cotta
Directory listing that can return list of entries, files or directories.
TDirectoryListing(TFileFactory, PathContent)
- Constructor for class net.sf.cotta.
TDirectoryListing
TDirectoryNotFoundException
- Exception in
net.sf.cotta
TDirectoryNotFoundException(TPath)
- Constructor for exception net.sf.cotta.
TDirectoryNotFoundException
TEntry
- Class in
net.sf.cotta
Entry instance that represents either a file or a directory.
TEntry(FileSystem, TPath)
- Constructor for class net.sf.cotta.
TEntry
Deprecated.
use the other constructor for default encoding support through TFactory
TEntry(TFileFactory, TPath)
- Constructor for class net.sf.cotta.
TEntry
TEntryFilter
- Interface in
net.sf.cotta
TEntry used for listing
TestLoader
- Class in
net.sf.cotta.test
TestLoader(Class)
- Constructor for class net.sf.cotta.test.
TestLoader
TFile
- Class in
net.sf.cotta
The class that represents the file.
TFile(FileSystem, TPath)
- Constructor for class net.sf.cotta.
TFile
Deprecated.
use the other constructor for default encoding support provided by factory
TFile(TFileFactory, TPath)
- Constructor for class net.sf.cotta.
TFile
Create TFile instance backed up by the factory
TFileFactory
- Class in
net.sf.cotta
The factory class for creating TFile and TDirectory.
TFileFactory()
- Constructor for class net.sf.cotta.
TFileFactory
Creat the factory using physical file system
TFileFactory(FileSystem)
- Constructor for class net.sf.cotta.
TFileFactory
TFileFactory(FileSystem, String)
- Constructor for class net.sf.cotta.
TFileFactory
TFileFilter
- Interface in
net.sf.cotta
TFileNotFoundException
- Exception in
net.sf.cotta
TFileNotFoundException(TPath)
- Constructor for exception net.sf.cotta.
TFileNotFoundException
TIoException
- Exception in
net.sf.cotta
The exception that wraps java.io.IOException.
TIoException(TPath, String)
- Constructor for exception net.sf.cotta.
TIoException
TIoException(TPath, String, IOException)
- Constructor for exception net.sf.cotta.
TIoException
TIoRuntimeException
- Exception in
net.sf.cotta
Runtime exception used to wrap TIoException in the place where you cannot declare exception
TIoRuntimeException(TIoException)
- Constructor for exception net.sf.cotta.
TIoRuntimeException
TIoRuntimeException(String, TPath, IOException)
- Constructor for exception net.sf.cotta.
TIoRuntimeException
title()
- Method in class net.sf.cotta.utils.
ProductInfo
toByteArray()
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
toCanonicalDir()
- Method in class net.sf.cotta.
TDirectory
toCanonicalFile()
- Method in class net.sf.cotta.
TFile
Converts to the instance with a cononical path
toCanonicalPath(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
toCanonicalPath(TPath)
- Method in interface net.sf.cotta.
FileSystem
toCanonicalPath(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
toCanonicalPath(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
toCanonicalPath()
- Method in class net.sf.cotta.
TEntry
toCanonicalPath(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
toJavaFile(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem
toJavaFile(TPath)
- Method in interface net.sf.cotta.
FileSystem
toJavaFile(TPath)
- Method in class net.sf.cotta.memory.
InMemoryFileSystem
toJavaFile(TPath)
- Method in class net.sf.cotta.physical.
PhysicalFileSystem
toJavaFile()
- Method in class net.sf.cotta.
TEntry
Converts the instance to java.io.File.
toJavaFile(TPath)
- Method in class net.sf.cotta.zip.
ZipFileSystem
toPath()
- Method in class net.sf.cotta.
TEntry
toPathString()
- Method in class net.sf.cotta.
TEntry
Alias of path() which returns system specific path string For example, on physical system the path separator will be OS specific
toPathString()
- Method in class net.sf.cotta.
TPath
toPathString(PathSeparator)
- Method in class net.sf.cotta.
TPath
toString()
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
This method returns a string using the default charset.
toString(String)
- Method in class net.sf.cotta.memory.
ByteArrayBuffer
This method returns a string converted to the proper charset.
toString()
- Method in class net.sf.cotta.
TEntry
toString()
- Method in class net.sf.cotta.
TPath
String representation of the path.
toString()
- Method in class net.sf.cotta.utils.
ClassPathType
toSystemPathString()
- Method in class net.sf.cotta.
TPath
TPath
- Class in
net.sf.cotta
An object presentation of path to mainly used by the implemenation of Cotta classes.
TResource
- Interface in
net.sf.cotta
type()
- Method in class net.sf.cotta.utils.
ClassPathEntry
U
Unix
- Static variable in class net.sf.cotta.
PathSeparator
unLockFile(TPath)
- Method in class net.sf.cotta.
CatastrophicFileSystem
url()
- Method in class net.sf.cotta.utils.
ProductInfo
V
value()
- Method in class net.sf.cotta.utils.
VersionNumber
vendor()
- Method in class net.sf.cotta.utils.
ProductInfo
version()
- Method in class net.sf.cotta.utils.
ProductInfo
VersionNumber
- Class in
net.sf.cotta.utils
VersionNumber(String, String)
- Constructor for class net.sf.cotta.utils.
VersionNumber
visit(TDirectory)
- Method in class net.sf.cotta.
AbstractFileVisitor
visit(TFile)
- Method in class net.sf.cotta.
AbstractFileVisitor
visit(TDirectory)
- Method in interface net.sf.cotta.
FileVisitor
visit(TFile)
- Method in interface net.sf.cotta.
FileVisitor
visit(FileVisitor)
- Method in class net.sf.cotta.
TDirectory
W
Windows
- Static variable in class net.sf.cotta.
PathSeparator
with(InputStream)
- Static method in class net.sf.cotta.io.
Input
A static factory to create an Input instance for processing the input stream with system default encoding
with(InputStream, String)
- Static method in class net.sf.cotta.io.
Input
A static factory to create an Input instance for processing the input stream with the given encoding when creating readers
with(InputStreamFactory)
- Static method in class net.sf.cotta.io.
Input
A static factory to create an Input instance for processing the input stream to be created by the InputStreamFactory with system default encoding
with(InputStreamFactory, String)
- Static method in class net.sf.cotta.io.
Input
A static factory to create an Input instance for processing the input stream to be created by the InputStreamFactory with provided encoding
with(InputStream)
- Static method in class net.sf.cotta.io.
InputManager
Deprecated.
Moved to Input
with(InputStream, String)
- Static method in class net.sf.cotta.io.
InputManager
Deprecated.
Moved to Input
with(InputStreamFactory)
- Static method in class net.sf.cotta.io.
InputManager
Deprecated.
Moved to Input
with(InputStreamFactory, String)
- Static method in class net.sf.cotta.io.
InputManager
Deprecated.
Moved to Input
with(OutputStream)
- Static method in class net.sf.cotta.io.
Output
Creates the output instance with the given output stream and use system encoding
with(OutputStream, String)
- Static method in class net.sf.cotta.io.
Output
Create the output instance with the given output steram and default encoding
with(OutputStreamFactory)
- Static method in class net.sf.cotta.io.
Output
Create the output instance with the stream factory and use system encoding
with(OutputStreamFactory, String)
- Static method in class net.sf.cotta.io.
Output
Creates the output instance
with(OutputStream)
- Static method in class net.sf.cotta.io.
OutputManager
Deprecated.
moved to Output
with(OutputStream, String)
- Static method in class net.sf.cotta.io.
OutputManager
Deprecated.
moved to Output
with(OutputStreamFactory)
- Static method in class net.sf.cotta.io.
OutputManager
Deprecated.
moved to Output
with(OutputStreamFactory, String)
- Static method in class net.sf.cotta.io.
OutputManager
Deprecated.
write(OutputProcessor)
- Method in class net.sf.cotta.io.
Output
write(OutputProcessor)
- Method in class net.sf.cotta.
TFile
writeAllowed(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem.PermissionController
writeOperationControl(TPath)
- Method in interface net.sf.cotta.
ControlledFileSystem.Controller
writeOperationControl(TPath)
- Method in class net.sf.cotta.
ControlledFileSystem.PermissionController
writer(OutputMode)
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
writer(OutputMode, String)
- Method in class net.sf.cotta.io.
IoFactory
Deprecated.
writer(OutputMode)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
writer(OutputMode, String)
- Method in class net.sf.cotta.io.
IoManager
Deprecated.
writer()
- Method in class net.sf.cotta.io.
OutputFactory
writer(String)
- Method in class net.sf.cotta.io.
OutputFactory
writer()
- Method in class net.sf.cotta.io.
OutputManager
writer(String)
- Method in class net.sf.cotta.io.
OutputManager
Z
ZipFileSystem
- Class in
net.sf.cotta.zip
ZipFileSystem that operates on a Zip file.
ZipFileSystem(File)
- Constructor for class net.sf.cotta.zip.
ZipFileSystem
zipTo(TFile)
- Method in class net.sf.cotta.
TDirectory
Zip the current directory to a file, with the files and directories of current directory at the root level
ZToA
- Static variable in interface net.sf.cotta.memory.
ListingOrder
Sort in the order in which z appears before a
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Z
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes