class Subscription
extends java.lang.Object
| コンストラクタ | 説明 |
|---|---|
Subscription(java.lang.String location,
java.lang.String etag,
java.lang.String lastModified,
java.lang.String lastFetched) |
Construct a Subscription pointing to the address book at location, that
was last read at the time represented by etag and lastModified.
|
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
java.lang.String |
getEtag() |
Return the etag header that we received the last time we read this
subscription.
|
long |
getLastFetched() |
|
java.lang.String |
getLastModified() |
Return the last-modified header that we received the last time we read
this subscription.
|
java.lang.String |
getLocation() |
Return the location this Subscription points at.
|
void |
setEtag(java.lang.String etag) |
Set the etag header.
|
void |
setLastFetched(long t) |
|
void |
setLastModified(java.lang.String lastModified) |
Set the last-modified header.
|
public Subscription(java.lang.String location,
java.lang.String etag,
java.lang.String lastModified,
java.lang.String lastFetched)
location - A String representing a url to a remote address book. Non-null.etag - The etag header that we received the last time we read this
subscription. May be null.lastModified - the last-modified header we received the last time we read
this subscription. May be null.lastFetched - when the subscription was last fetched (Java time, as a String).
May be null.public java.lang.String getLocation()
public java.lang.String getEtag()
public void setEtag(java.lang.String etag)
etag - A String containing the etag header.public java.lang.String getLastModified()
public void setLastModified(java.lang.String lastModified)
lastModified - A String containing the last-modified header.public long getLastFetched()
public void setLastFetched(long t)