|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.webdav.internal.kernel.ConditionFactor
org.eclipse.webdav.internal.kernel.StateToken
public class StateToken
A StateToken is a ConditionFactor describing some state of a resource represented as a URI. A typical example would be the WebDAV lock token.
Constructor Summary | |
---|---|
StateToken(String uri)
Construct a StateToken with the given URI. |
Method Summary | |
---|---|
static ConditionFactor |
create(StreamTokenizer tokenizer)
Create a StateToken by parsing the given If header as defined by section 9.4 in the WebDAV spec. |
boolean |
equals(Object factor)
Compare with another StateToken. |
String |
getURI()
Get the URI of this StateToken. |
void |
setURI(String value)
Set the URI of this StateToken. |
String |
toString()
Return a String representation of this StateToken as defined by the If header in section 9.4 of the WebDAV spec. |
Methods inherited from class org.eclipse.webdav.internal.kernel.ConditionFactor |
---|
not, setNot |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StateToken(String uri)
uri
- the URI of the state tokenMethod Detail |
---|
public static ConditionFactor create(StreamTokenizer tokenizer) throws WebDAVException
tokenizer
- a StreamTokenizer on the contents of a WebDAV If header
WebDAVException
public boolean equals(Object factor)
equals
in class Object
factor
- the state token to compare with
public String getURI()
public void setURI(String value)
value
- the URI for this state tokenpublic String toString()
toString
in class ConditionFactor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |