java.lang.Iterable<Resource>
, ResourceCollection
public class Path.PathElement extends java.lang.Object implements ResourceCollection
<pathelement>
values.Constructor | Description |
---|---|
PathElement() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getParts() |
Return the converted pathelements.
|
boolean |
isFilesystemOnly() |
Check if this resource is only for filesystems.
|
java.util.Iterator<Resource> |
iterator() |
Create an iterator.
|
void |
setLocation(java.io.File loc) |
Set the location.
|
void |
setPath(java.lang.String path) |
Set the path.
|
int |
size() |
Get the number of resources.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty, stream
public void setLocation(java.io.File loc)
loc
- a File
valuepublic void setPath(java.lang.String path)
path
- a String
valuepublic java.lang.String[] getParts()
String[]
valuepublic java.util.Iterator<Resource> iterator()
iterator
in interface java.lang.Iterable<Resource>
public boolean isFilesystemOnly()
isFilesystemOnly
in interface ResourceCollection
public int size()
size
in interface ResourceCollection