|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.io.FilesystemInfo
public class FilesystemInfo
Encapsulates a few useful filesystem properties, and utility methods.
It uses a few configuration parameters, which can be set by subclasses:
| Nested Class Summary | |
|---|---|
class |
FilesystemInfo.TokenizedPath
Contains a tokenized path. |
| Constructor Summary | |
|---|---|
FilesystemInfo()
Default Constructor. |
|
| Method Summary | |
|---|---|
static File |
createFileInDir(String fich)
Given a file path, returns the corresponding file object. |
String |
getQualifiedPath(String disk_prefix,
String path)
Gets the qualified form of the given path. |
FilesystemInfo.TokenizedPath |
getTokenizedPath(String path)
|
String |
getVolumePath(String volume,
String qpath)
|
boolean |
isCaseSensitive()
Is this filesystem case sensitive? |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilesystemInfo()
Tries to guess the internal properties as for an Unix/Windows system.
| Method Detail |
|---|
public String getQualifiedPath(String disk_prefix,
String path)
path - The unqualified path
public String getVolumePath(String volume,
String qpath)
qpath - Path qualified with disk drive letter
public boolean isCaseSensitive()
public FilesystemInfo.TokenizedPath getTokenizedPath(String path)
public static File createFileInDir(String fich)
throws IOException
fich - the path
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||