|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.core.file.FileSpecBuilder
public class FileSpecBuilder
A class used to provide generally-useful Perforce filespec-related static methods.
| Constructor Summary | |
|---|---|
FileSpecBuilder()
|
|
| Method Summary | |
|---|---|
static List<IFileSpec> |
getInvalidFileSpecs(List<IFileSpec> fileSpecs)
Given a list of file specs, return a list of the invalid file specs in that list. |
static List<IFileSpec> |
getValidFileSpecs(List<IFileSpec> fileSpecs)
Given a list of file specs, return a list of the valid file specs in that list. |
static List<IFileSpec> |
makeFileSpecList(List<String> pathList)
Given a list of file paths (which might include revision or label specs, etc.), return a corresponding list of file specs. |
static List<IFileSpec> |
makeFileSpecList(String path)
Create a list containing a single file spec created from the specified path. |
static List<IFileSpec> |
makeFileSpecList(String[] pathArray)
Given an array of file paths (which might include revision or label specs, etc.), return a corresponding list of file specs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSpecBuilder()
| Method Detail |
|---|
public static List<IFileSpec> makeFileSpecList(List<String> pathList)
pathList - list of path strings
public static List<IFileSpec> makeFileSpecList(String[] pathArray)
NOTE: use the 'FileSpecBuilder.makeFileSpecList(List
pathArray - array of path strings
public static List<IFileSpec> makeFileSpecList(String path)
path -
public static List<IFileSpec> getValidFileSpecs(List<IFileSpec> fileSpecs)
fileSpecs - candidate file specs
public static List<IFileSpec> getInvalidFileSpecs(List<IFileSpec> fileSpecs)
fileSpecs - candidate file specs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||