|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<FileSet>
oracle.ide.file.Path
@NotThreadSafe public final class Path
An ordered path made up of FileSet. Duplicate file sets and
null file set are not allowed in the path.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Method Summary | |
|---|---|
boolean |
add(FileSet fileSet)
|
void |
add(int index,
FileSet element)
|
boolean |
addAll(java.util.Collection<? extends FileSet> c)
|
boolean |
addAll(int index,
java.util.Collection<? extends FileSet> c)
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
contains(java.net.URL url)
Determine whether this path contains a URL. |
boolean |
containsAll(java.util.Collection<?> c)
|
static Path |
getInstance()
Get an empty path. |
static Path |
getInstance(java.util.Collection<FileSet> fileSets)
Get a path instance containing the given file sets. |
static Path |
getInstance(FileSet... fileSets)
Get a path instance containing the given file sets. |
static Path |
getInstance(int capacity)
Get an empty path with the given initial capacity. |
static Path |
getInstance(URLPath urlPath)
Get a path instance containing the locations in a URLPath. |
FileSet |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection<?> c)
|
boolean |
retainAll(java.util.Collection<?> c)
|
FileSet |
set(int index,
FileSet element)
|
java.lang.String |
toRelativePath(java.net.URL url)
Get the path of a URL, relative to this path. |
| Methods inherited from class java.util.ArrayList |
|---|
clone, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Method Detail |
|---|
public static Path getInstance()
public static Path getInstance(int capacity)
capacity - the initial capacity
public static Path getInstance(FileSet... fileSets)
fileSets - the file sets
NullArgumentException - if any of the file sets are nullpublic static Path getInstance(URLPath urlPath)
URLPath. This
is useful for converting legacy URLPath instances to Path
instances.
urlPath - the URL path
public static Path getInstance(java.util.Collection<FileSet> fileSets)
fileSets - the file sets
NullArgumentException - if the collection or any file set in the collection is nullpublic boolean contains(java.net.URL url)
GlobalIgnoreList filters or any other
filters. This does not check for existence of the URL.
url - the URL
true if this path contains the given URL,
false otherwisepublic java.lang.String toRelativePath(java.net.URL url)
null
if the URL is not in this path. This does not check whether the URL
or relative path exists.
url - the URL
null if the URL is not in
this pathpublic boolean add(FileSet fileSet)
add in interface java.util.Collection<FileSet>add in interface java.util.List<FileSet>add in class java.util.ArrayList<FileSet>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<FileSet>remove in interface java.util.List<FileSet>remove in class java.util.ArrayList<FileSet>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<FileSet>contains in interface java.util.List<FileSet>contains in class java.util.ArrayList<FileSet>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<FileSet>containsAll in interface java.util.List<FileSet>containsAll in class java.util.AbstractCollection<FileSet>public boolean addAll(java.util.Collection<? extends FileSet> c)
addAll in interface java.util.Collection<FileSet>addAll in interface java.util.List<FileSet>addAll in class java.util.ArrayList<FileSet>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<FileSet>removeAll in interface java.util.List<FileSet>removeAll in class java.util.AbstractCollection<FileSet>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<FileSet>retainAll in interface java.util.List<FileSet>retainAll in class java.util.AbstractCollection<FileSet>public void clear()
clear in interface java.util.Collection<FileSet>clear in interface java.util.List<FileSet>clear in class java.util.ArrayList<FileSet>
public void add(int index,
FileSet element)
add in interface java.util.List<FileSet>add in class java.util.ArrayList<FileSet>public FileSet remove(int index)
remove in interface java.util.List<FileSet>remove in class java.util.ArrayList<FileSet>
public boolean addAll(int index,
java.util.Collection<? extends FileSet> c)
addAll in interface java.util.List<FileSet>addAll in class java.util.ArrayList<FileSet>
public FileSet set(int index,
FileSet element)
set in interface java.util.List<FileSet>set in class java.util.ArrayList<FileSet>
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||