]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ltk/src/org/simantics/ltk/ISource.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.ltk / src / org / simantics / ltk / ISource.java
diff --git a/bundles/org.simantics.ltk/src/org/simantics/ltk/ISource.java b/bundles/org.simantics.ltk/src/org/simantics/ltk/ISource.java
new file mode 100644 (file)
index 0000000..29f0b66
--- /dev/null
@@ -0,0 +1,12 @@
+package org.simantics.ltk;\r
+\r
+import java.io.IOException;\r
+import java.io.InputStream;\r
+\r
+public interface ISource {\r
+       String getName();\r
+       InputStream open() throws IOException;  \r
+       int length() throws IOException;\r
+       int startPos();\r
+       int startLine();\r
+}\r