private static class PrepareCmd.FileParts
extends java.lang.Object
CmdGetFileArgs_ifc
only one time after clean().
The getting of file parts is optimized, for example only one time getCanonicalPath().Modifier and Type | Field and Description |
---|---|
private CmdGetFileArgs_ifc |
args
Reference set on clean.
|
(package private) java.io.File |
file
Get from args if firstly used.
|
(package private) int |
posExt |
(package private) int |
posFile |
(package private) int |
posFileInLocalPath |
(package private) java.lang.String |
sName |
(package private) java.lang.String |
sPathCanonical |
(package private) java.lang.String |
sPathFile |
(package private) java.lang.String |
sPathLocal |
(package private) int |
whichFile
what part from args, 1..3 or 0 for fileSelect.
|
Constructor and Description |
---|
FileParts(int what) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
clean(CmdGetFileArgs_ifc args)
called on new prepareCmd invocation:
|
(package private) java.lang.String |
getCanonicalDir() |
(package private) java.lang.String |
getCanonicalFile() |
(package private) java.lang.String |
getExt() |
(package private) void |
getFile() |
(package private) java.lang.String |
getGivenDir()
Returns the directory like it is given by the File constructor.
|
(package private) java.lang.String |
getGivenFile()
Returns the directory like it is given by the File constructor.
|
(package private) java.lang.String |
getLocalDir() |
(package private) java.lang.String |
getLocalFile() |
(package private) java.lang.String |
getNameExt() |
(package private) java.lang.String |
getNameOnly() |
final int whichFile
private CmdGetFileArgs_ifc args
java.io.File file
java.lang.String sPathFile
java.lang.String sPathLocal
java.lang.String sPathCanonical
int posFile
int posFileInLocalPath
java.lang.String sName
int posExt
void clean(CmdGetFileArgs_ifc args)
void getFile()
java.lang.String getGivenFile()
java.lang.String getNameExt()
java.lang.String getNameOnly()
java.lang.String getExt()
java.lang.String getLocalFile()
java.lang.String getLocalDir()
java.lang.String getGivenDir()
java.lang.String getCanonicalFile()
java.lang.String getCanonicalDir()