Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-01-15 14:32:26 -0500
committerslewis2009-01-15 14:32:26 -0500
commitccba5933901bfd7d58ab30693e13b023beef1a78 (patch)
tree5d6b3693a52f770df1425d42bde69b8c6192cda1 /framework/bundles/org.eclipse.ecf.identity/src
parent44b9c9490fa67a0bd8ffe61076d836be4d50fb76 (diff)
downloadorg.eclipse.ecf-ccba5933901bfd7d58ab30693e13b023beef1a78.tar.gz
org.eclipse.ecf-ccba5933901bfd7d58ab30693e13b023beef1a78.tar.xz
org.eclipse.ecf-ccba5933901bfd7d58ab30693e13b023beef1a78.zip
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257115 and bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=250717
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.identity/src')
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/IResourceID.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/IResourceID.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/IResourceID.java
new file mode 100644
index 000000000..5fd7a97e5
--- /dev/null
+++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/IResourceID.java
@@ -0,0 +1,19 @@
+package org.eclipse.ecf.core.identity;
+
+import java.net.URI;
+
+/**
+ * Resource id. ID instances that implement this interface
+ * are expected to be resources (files, directories, URLs, etc)
+ * and so can be identified via a {@link URI}.
+ *
+ */
+public interface IResourceID {
+
+ /**
+ * Convert this resource ID to a {@link URI}.
+ * @return URI for this resource ID
+ */
+ public URI toURI();
+
+}

Back to the top