|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
@Generated(value="br.com.objectos.core.multirelease.processor.ConcreteInterfaceProcessor") public interface PathName
Represents a pathname in a file system.
| Method Summary | ||
|---|---|---|
|
acceptPathNameVisitor(PathNameVisitor<R,P> visitor,
P p)
Accept method used to implement the visitor pattern. |
|
boolean |
exists()
Returns true if the pathname represented by this object exists. |
|
String |
getName()
Returns the name of this object. |
|
String |
getPath()
Returns the full path of this object. |
|
File |
toFile()
Returns a File representation of this pathname. |
|
URI |
toUri()
Returns an URI representation of this pathname. |
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface br.com.objectos.core.object.ToStringObject |
|---|
formatToString |
| Method Detail |
|---|
<R,P> R acceptPathNameVisitor(PathNameVisitor<R,P> visitor,
P p)
throws IOException
R - the result type of this operationP - the type of the additional objectvisitor - the visitor operating on this PathName instancep - additional object passed to the visitor
IOException - if an I/O error occursboolean exists()
true if the pathname represented by this object exists.
true if the pathname represented by this object existsString getName()
String getPath()
File toFile()
File representation of this pathname.
File representation of this pathnameURI toUri()
URI representation of this pathname.
URI representation of this pathname
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||