|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sourceforge.ganttproject.document.DocumentCreator
This is a helper class, to create new instances of Document easily. It chooses the correct implementation based on the given path.
| Constructor Summary | |
DocumentCreator()
|
|
| Method Summary | |
static Document |
createDocument(java.lang.String path)
Creates an URLDocument if path starts with "http://" or "https://"; creates a FileDocument otherwise. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentCreator()
| Method Detail |
public static Document createDocument(java.lang.String path)
path - path to the document
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||