|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.core.identity.BaseID
org.eclipse.ecf.provider.xmpp.identity.XMPPFileID
public class XMPPFileID
XMPPFileID for use with the XMPP outgoing file transfer.
| Field Summary | |
|---|---|
static java.lang.String |
FILENAME_KEY
|
static java.lang.String |
XMPPIDNAMESPACE_KEY
|
| Fields inherited from class org.eclipse.ecf.core.identity.BaseID |
|---|
namespace |
| Constructor Summary | |
|---|---|
XMPPFileID(XMPPID id,
java.lang.String fn)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
createQuery(java.lang.String filename,
java.lang.String xmppidScheme)
|
static java.net.URL |
createURL(XMPPID xmppid2,
java.lang.String filename2)
|
java.lang.String |
getFilename()
Get the file name from this IFileID. |
java.net.URI |
getURI()
Get the URI associated with the file identified by this IFileID. |
java.net.URL |
getURL()
Get the url associated with the file identified by this IFileID. |
XMPPID |
getXMPPID()
|
protected int |
namespaceCompareTo(BaseID o)
Called by Namespace.getCompareToForObject(BaseID, BaseID). |
protected boolean |
namespaceEquals(BaseID o)
Called by Namespace.testIDEquals(BaseID, BaseID). |
protected java.lang.String |
namespaceGetName()
Called by Namespace.getNameForID(BaseID). |
protected int |
namespaceHashCode()
Called by Namespace.getHashCodeForID(BaseID). |
java.lang.String |
toExternalForm()
Get this ID instance in String form. |
| Methods inherited from class org.eclipse.ecf.core.identity.BaseID |
|---|
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ecf.core.identity.ID |
|---|
equals, getName, getNamespace, hashCode |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface java.security.Principal |
|---|
toString |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final java.lang.String FILENAME_KEY
public static final java.lang.String XMPPIDNAMESPACE_KEY
| Constructor Detail |
|---|
public XMPPFileID(XMPPID id,
java.lang.String fn)
throws java.net.MalformedURLException
java.net.MalformedURLException| Method Detail |
|---|
public static java.net.URL createURL(XMPPID xmppid2,
java.lang.String filename2)
throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.lang.String createQuery(java.lang.String filename,
java.lang.String xmppidScheme)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic XMPPID getXMPPID()
public java.lang.String toExternalForm()
ID
toExternalForm in interface IDtoExternalForm in class BaseIDprotected int namespaceCompareTo(BaseID o)
BaseIDNamespace.getCompareToForObject(BaseID, BaseID).
namespaceCompareTo in class BaseIDo - the other ID to compare to. Will not be null.
Comparable contract.protected boolean namespaceEquals(BaseID o)
BaseIDNamespace.testIDEquals(BaseID, BaseID).
namespaceEquals in class BaseIDo - the other ID to test against. May be null.
true if this ID is equal to the given ID.
false otherwise.protected java.lang.String namespaceGetName()
BaseIDNamespace.getNameForID(BaseID).
namespaceGetName in class BaseIDnull. Value
returned should be unique within this Namespace.protected int namespaceHashCode()
BaseIDNamespace.getHashCodeForID(BaseID).
namespaceHashCode in class BaseIDpublic java.lang.String getFilename()
IFileID
getFilename in interface IFileIDnull.
public java.net.URL getURL()
throws java.net.MalformedURLException
IFileID
getURL in interface IFileIDjava.net.MalformedURLException - thrown if URL cannot be created for this IFileID
public java.net.URI getURI()
throws java.net.URISyntaxException
IFileID
getURI in interface IFileIDnull.
java.net.URISyntaxException - thrown if URI cannot be created for this IFileID.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||