|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.deploy.util.FileID
public class FileID
Simple, yet surprisingly common utility methods for identifying various file types commonly seen and worked with in a deployment scenario.
Constructor Summary | |
---|---|
FileID()
|
Method Summary | |
---|---|
static boolean |
isWebArchive(java.io.File path)
Is the path a Web Archive? |
static boolean |
isWebArchiveFile(java.io.File path)
Is the path a Web Archive File (not directory) |
static boolean |
isXmlFile(java.io.File path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileID()
Method Detail |
---|
public static boolean isWebArchive(java.io.File path)
path
- the path to test.
isWebArchiveFile(File)
public static boolean isWebArchiveFile(java.io.File path)
path
- the path to test.
isWebArchive(File)
public static boolean isXmlFile(java.io.File path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |