br.com.objectos.fs
@Generated(value="br.com.objectos.latest.processor.ConcreteInterfaceProcessor") public interface PathName
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
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 pathname.
|
String |
getPath()
Returns the full path of this pathname.
|
File |
toFile()
Returns a
File representation of this pathname. |
URI |
toUri()
Returns an
URI representation of this pathname. |
compareTo<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 visitorIOException - 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 pathnameCopyright © 2021–2022 Objectos Software LTDA. All rights reserved.