Interface IFileID
- 
- All Superinterfaces:
- Comparable,- org.eclipse.core.runtime.IAdaptable,- ID,- Principal,- Serializable
 - All Known Implementing Classes:
- FileTransferID
 
 public interface IFileID extends ID ID for a remote file.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFilename()Get the file name from this IFileID.URIgetURI()Get the URI associated with the file identified by this IFileID.URLgetURL()Get the url associated with the file identified by this IFileID.- 
Methods inherited from interface java.lang.ComparablecompareTo
 - 
Methods inherited from interface org.eclipse.ecf.core.identity.IDequals, getName, getNamespace, hashCode, toExternalForm
 
- 
 
- 
- 
- 
Method Detail- 
getFilenameString getFilename() Get the file name from this IFileID. This will return just the filename portion of a more complex file ID, e.g. index.html from IFileID created with value "http://www.composent.com/index.html"- Returns:
- String just the file name and extension (if any) for this given
         IFileID. Will not be null.
 
 - 
getURLURL getURL() throws MalformedURLException Get the url associated with the file identified by this IFileID.- Returns:
- URL associated with this IFileID. Will not be null.
- Throws:
- MalformedURLException- thrown if URL cannot be created for this IFileID
 
 - 
getURIURI getURI() throws URISyntaxException Get the URI associated with the file identified by this IFileID.- Returns:
- URI associated with this IFileID.  Will not be null.
- Throws:
- URISyntaxException- thrown if URI cannot be created for this IFileID.
- Since:
- 5.0
 
 
- 
 
-