public class R66Dir extends FilesystemBasedDirImpl
filesystemBasedFtpDirJdk
currentDir, ISUNIX, optsMLSx, roots, session
SEPARATOR, SEPARATORCHAR
Constructor and Description |
---|
R66Dir(R66Session session) |
Modifier and Type | Method and Description |
---|---|
static String |
getFinalUniqueFilename(R66File file) |
String |
getFullPath()
This method returns the Full path for the current directory
|
R66File |
newFile(String path,
boolean append)
Create a new File
|
R66File |
setFileNoCheck(String path)
Create a new file according to the path without checking BusinessPath, so
as external File.
|
R66File |
setUniqueFile(long prefix,
String filename)
Same as setUnique() except that File will be prefixed by id and postfixed
by filename
|
String |
toString() |
protected List<String> |
wildcardFilesNoCheck(String pathWithWildcard)
Finds all files matching a wildcard expression (based on '?'
|
canRead, canWrite, changeDirectory, changeDirectoryNotChecked, exists, fileFull, getCRC, getDigest, getFileFromPath, getFreeSpace, getMD5, getModificationTime, getModificationTime, getRelativePath, getSHA1, getTrueFile, initJdkDependent, isDirectory, isFile, isFullTime, list, listFull, lsInfo, mkdir, mlsxInfo, rmdir, setUniqueFile, wildcardFiles
changeParentDirectory, checkIdentify, clear, consolidatePath, getCanonicalPath, getCorrespondingRoot, getOptsMLSx, getPwd, getSession, initAfterIdentification, isAbsolute, isPathInCurrentDir, isPathInCurrentDir, normalizePath, pathFromURI, setFile, validatePath, validatePath
public R66Dir(R66Session session)
session
- public R66File newFile(String path, boolean append) throws CommandAbstractException
DirInterface
CommandAbstractException
public R66File setUniqueFile(long prefix, String filename) throws CommandAbstractException
prefix
- filename
- CommandAbstractException
public static String getFinalUniqueFilename(R66File file)
file
- protected List<String> wildcardFilesNoCheck(String pathWithWildcard) throws CommandAbstractException
pathWithWildcard
- The wildcard expression with a business
path.CommandAbstractException
public R66File setFileNoCheck(String path) throws CommandAbstractException
path
- CommandAbstractException
public String getFullPath()
Copyright © 2009–2020 Waarp. All rights reserved.