|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.io.vfs.VfsLib
public class VfsLib
Various handy tools for manipulating VFSen.
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
VfsLib()
|
|
| Method Summary | |
|---|---|
static VfsFile |
joinFiles(VfsFile outputFile,
java.lang.Iterable<VfsFile> parts)
Joins the given files together into the given output file. |
static VfsFile |
joinFiles(VfsFile outputFile,
java.util.Iterator<VfsFile> parts)
Joins the given files together into the given output file. |
static VfsFile |
joinFiles(VfsFile outputFile,
VfsFile... parts)
Joins the given files together into the given output file. |
static java.util.List<VfsFile> |
splitFile(VfsFile source,
ByteSize maximumSize,
VfsDirectory destination)
Splits the given VfsFile into several subfiles in the given destination directory, each with the extension .001, .002, etc. |
static java.util.List<VfsFile> |
splitFileByMegabytes(VfsFile file,
ByteSize byteSize)
Splits the given VfsFile into several subfiles in the same directory, each with the extension .001, .002, etc. |
static java.util.List<VfsFile> |
splitFileByMegabytes(VfsFile file,
int megabytes)
Splits the given VfsFile into several subfiles in the same directory, each with the extension .001, .002, etc. |
static java.util.List<VfsFile> |
splitFileByMegabytes(VfsFile file,
int megabytes,
VfsDirectory destination)
Splits the given VfsFile into several subfiles in the given destination directory, each with the extension .001, .002, etc. |
static VfsDirectory |
vfsDirectoryFor(java.io.File file)
Creates a VfsDirectory for the given directory, using its discretion as to how to obtain the VFS... |
static VfsDirectory |
vfsDirectoryFor(java.lang.String directoryPath)
Creates a VfsDirectory for the given path, using its discretion as to how to obtain the VFS... |
static VfsFile |
vfsFileFor(java.io.File file)
Creates a VfsFile for the given file, using its discretion as to how to obtain the VFS... |
static VfsFile |
vfsFileFor(java.lang.String filePath)
Creates a VfsFile for the given file path, using its discretion as to how to obtain the VFS... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VfsLib()
| Method Detail |
|---|
public static VfsFile vfsFileFor(java.io.File file)
throws java.io.IOException
java.io.IOException
public static VfsFile vfsFileFor(java.lang.String filePath)
throws java.io.IOException
java.io.IOException
public static VfsDirectory vfsDirectoryFor(java.io.File file)
throws java.io.IOException
java.io.IOException
public static VfsDirectory vfsDirectoryFor(java.lang.String directoryPath)
throws java.io.IOException
java.io.IOException
public static java.util.List<VfsFile> splitFile(VfsFile source,
ByteSize maximumSize,
VfsDirectory destination)
throws java.io.IOException
java.io.IOException
public static java.util.List<VfsFile> splitFileByMegabytes(VfsFile file,
int megabytes,
VfsDirectory destination)
throws java.io.IOException
java.io.IOException
public static java.util.List<VfsFile> splitFileByMegabytes(VfsFile file,
int megabytes)
throws java.io.IOException
java.io.IOException
public static java.util.List<VfsFile> splitFileByMegabytes(VfsFile file,
ByteSize byteSize)
throws java.io.IOException
java.io.IOException
public static VfsFile joinFiles(VfsFile outputFile,
VfsFile... parts)
throws java.io.IOException
java.io.IOException
public static VfsFile joinFiles(VfsFile outputFile,
java.util.Iterator<VfsFile> parts)
throws java.io.IOException
java.io.IOException
public static VfsFile joinFiles(VfsFile outputFile,
java.lang.Iterable<VfsFile> parts)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||