Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help/src/org/eclipse/help/internal/index/IndexFile.java')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/index/IndexFile.java56
1 files changed, 28 insertions, 28 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexFile.java b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexFile.java
index d97febe73..2aca05fa7 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexFile.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexFile.java
@@ -22,32 +22,32 @@ import org.eclipse.help.internal.util.ResourceLocator;
public class IndexFile {
- private String pluginId;
- private String file;
- private String locale;
-
- public IndexFile(String pluginId, String file, String locale) {
- this.pluginId = pluginId;
- this.file = file;
- this.locale = locale;
- }
-
- public String getFile() {
- return file;
- }
-
- public String getLocale() {
- return locale;
- }
-
- public String getPluginId() {
- return pluginId;
- }
-
- public InputStream getInputStream() throws IOException {
- if (pluginId != null)
- return ResourceLocator.openFromPlugin(pluginId, file, locale);
- else
- return new FileInputStream(file);
- }
+ private String pluginId;
+ private String file;
+ private String locale;
+
+ public IndexFile(String pluginId, String file, String locale) {
+ this.pluginId = pluginId;
+ this.file = file;
+ this.locale = locale;
+ }
+
+ public String getFile() {
+ return file;
+ }
+
+ public String getLocale() {
+ return locale;
+ }
+
+ public String getPluginId() {
+ return pluginId;
+ }
+
+ public InputStream getInputStream() throws IOException {
+ if (pluginId != null)
+ return ResourceLocator.openFromPlugin(pluginId, file, locale);
+ else
+ return new FileInputStream(file);
+ }
}

Back to the top