|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.ganttproject.document.AbstractDocument
Constructor Summary | |
AbstractDocument()
|
Method Summary | |
boolean |
acquireLock()
Tries to acquire a lock. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getFilePath()
Gets the path to the document, if it is a file on a local file system (can be used to initialize a JFileChooser). |
java.lang.String |
getLastError()
Gets the last error |
java.lang.String |
getPassword()
Gets the password used to authenticate to the storage container |
java.lang.String |
getURLPath()
Gets the path to the document, if it is a file on a server (can be used to initialize an UrlChooser). |
java.lang.String |
getUsername()
Gets the username used to authenticate to the storage container |
void |
releaseLock()
Releases a previously acquired lock. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.ganttproject.document.Document |
canRead, canWrite, getDescription, getInputStream, getOutputStream, getPath, isValidForMRU |
Constructor Detail |
public AbstractDocument()
Method Detail |
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean acquireLock()
Document
acquireLock
in interface Document
Document.releaseLock()
public void releaseLock()
Document
releaseLock
in interface Document
#acquireLock(String)
public java.lang.String getFilePath()
Document
getFilePath
in interface Document
null
, otherwise.public java.lang.String getURLPath()
Document
getURLPath
in interface Document
null
, otherwise.public java.lang.String getUsername()
Document
getUsername
in interface Document
public java.lang.String getPassword()
Document
getPassword
in interface Document
public java.lang.String getLastError()
Document
getLastError
in interface Document
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |