|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.search.FileSearchType
public final class FileSearchType
File search type.
| Field Summary | |
|---|---|
static int |
BY_FILE
Specifies search by file name |
static int |
BY_FILE_TYPE
Specifies search by file type |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines if this object is equal to the specified object. |
static FileSearchType |
getByFileType(FileType fileType)
Create a FileSearchType to search for files of a specific type. |
static FileSearchType |
getFiles(FileNamePattern pattern)
Create a FileSearchType to search for files using file name pattern and file type. |
FileType |
getFileType()
Returns the FileType defined for this search type. |
FileNamePattern |
getPattern()
Returns the FileNamePattern defined for this search type. |
int |
getType()
Returns the constant describing the file search type. |
int |
hashCode()
The hash code of this object. |
String |
toString()
Returns a String description of this search type. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BY_FILE
public static final int BY_FILE_TYPE
| Method Detail |
|---|
public int getType()
public FileType getFileType()
public FileNamePattern getPattern()
public static FileSearchType getByFileType(FileType fileType)
fileType - all files of this type will be examined.
This value is required and cannot be set to null.
If it is specified as null the runtime exception
APIArgumentException
will be thrown.
public static FileSearchType getFiles(FileNamePattern pattern)
pattern - The file name pattern which the search will begin
This value is required and cannot be set to null.
If it is specified as null the runtime exception
APIArgumentException
will be thrown.
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||