com.st.p2012.mind.MindocConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mindoc Show documentation
Show all versions of mindoc Show documentation
Document generator for MIND
The newest version!
package com.st.p2012.mind;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
public final class MindocConfig {
private static final String SVN_PROJECT_NAME = "svn-project-name";
private static final String SVN_VIEWVC_URL = "svn-viewvc-url";
private static final Properties properties = new Properties();
public static String getSVNViewVCURL() {
return properties.getProperty(SVN_VIEWVC_URL);
}
public static String getSVNProjectName() {
return properties.getProperty(SVN_PROJECT_NAME);
}
protected static void loadProperties(final File propertyFile) throws IOException {
final FileInputStream fis = new FileInputStream(propertyFile);
properties.load(fis);
}
}