-
All Superinterfaces:
-
java.lang.Iterable<T>
class SystemPath
extends java.lang.Object
implements java.lang.Iterable<T>
Represents a collection of path with the OS syntax.
-
Maven Group Identifier:
-
-
Maven Artifact Identifier:
-
-
Since:
-
Constructor Summary
Constructor and description |
new
Constructor. |
Action Summary
Modifier and type |
Action and description |
void |
add(File)
Add an path into the collection. |
void |
add(String)
Add an path into the collection. |
void |
addEntries(SystemPath)
Add a set of paths into the collection. |
void |
addEntries(String)
Add a set of paths into the collection. |
void |
clear
Clear the system path. |
boolean |
isEmpty
Replies the collection of paths is empty. |
java.util.Iterator<E> |
iterator |
int |
size
Replies the number of elements into this path. |
java.util.List<E> |
toFileList
Replies the elements into the path as a list of files. |
java.util.List<E> |
toFilenameList
Replies the elements into the path as a list of filenames. |
java.lang.String |
toString |
Modifier and type |
Action and description |
void |
add(File)
Add an path into the collection. |
void |
add(String)
Add an path into the collection. |
void |
addEntries(SystemPath)
Add a set of paths into the collection. |
void |
addEntries(String)
Add a set of paths into the collection. |
void |
clear
Clear the system path. |
boolean |
isEmpty
Replies the collection of paths is empty. |
java.util.Iterator<E> |
iterator |
int |
size
Replies the number of elements into this path. |
java.util.List<E> |
toFileList
Replies the elements into the path as a list of files. |
java.util.List<E> |
toFilenameList
Replies the elements into the path as a list of filenames. |
java.lang.String |
toString |
Constructor Details
-
new
-
new
Constructor.
Action Details
-
add(File)
-
def add(File)
Add an path into the collection.
-
Parameters:
-
path -
-
add(String)
-
def add(String)
Add an path into the collection.
-
Parameters:
-
path -
-
addEntries(SystemPath)
-
def addEntries(SystemPath)
Add a set of paths into the collection.
-
Parameters:
-
paths -
-
addEntries(String)
-
def addEntries(String)
Add a set of paths into the collection.
-
Parameters:
-
paths -
-
clear
-
def clear
Clear the system path.
-
isEmpty
-
def isEmpty : boolean
Replies the collection of paths is empty.
-
Returns:
-
-
iterator
-
def iterator : java.util.Iterator<E>
-
size
-
def size : int
Replies the number of elements into this path.
-
Returns:
-
-
toFileList
-
def toFileList : java.util.List<E>
Replies the elements into the path as a list of files.
-
Returns:
-
-
toFilenameList
-
def toFilenameList : java.util.List<E>
Replies the elements into the path as a list of filenames.
-
Returns:
-
-
toString
-
def toString : java.lang.String