jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Representing a directory item split into dirname()
and basename()
.
More...
Public Member Functions | |
DirItem () | |
Empty item w/ . More... | |
DirItem (final String path) | |
Create a dir_item where path is split into dirname and basename after . More... | |
String | dirname () |
Returns the dirname, shall not be empty and denotes . More... | |
String | basename () |
Return the basename, shall not be empty nor contain a dirname. More... | |
String | path () |
Returns a full unix path representation combining dirname() and basename(). More... | |
String | toString () |
boolean | equals (final Object other) |
Representing a directory item split into dirname()
and basename()
.
Definition at line 29 of file DirItem.java.
org.jau.fs.DirItem.DirItem | ( | ) |
org.jau.fs.DirItem.DirItem | ( | final String | path | ) |
Create a dir_item where path is split into dirname and basename after .
and ..
has been reduced.
path_ | the raw path |
Definition at line 52 of file DirItem.java.
String org.jau.fs.DirItem.basename | ( | ) |
Return the basename, shall not be empty nor contain a dirname.
Definition at line 63 of file DirItem.java.
String org.jau.fs.DirItem.dirname | ( | ) |
Returns the dirname, shall not be empty and denotes .
for current working director.
Definition at line 60 of file DirItem.java.
boolean org.jau.fs.DirItem.equals | ( | final Object | other | ) |
String org.jau.fs.DirItem.path | ( | ) |
Returns a full unix path representation combining dirname() and basename().
Definition at line 68 of file DirItem.java.
String org.jau.fs.DirItem.toString | ( | ) |
Definition at line 82 of file DirItem.java.