org.opensha.sha.gui.util
Class JNLPGen
java.lang.Object
org.opensha.sha.gui.util.JNLPGen
public class JNLPGen
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jnlpDir
public static final String jnlpDir
webRoot
protected static final String webRoot
- See Also:
- Constant Field Values
icon_sizes
protected static final int[] icon_sizes
JNLPGen
public JNLPGen(Class<?> theClass,
String shortName,
String title,
String iconText,
boolean allowOffline)
generateAppIcons
public void generateAppIcons(String baseDir,
HashMap<int[],BufferedImage> logoIcon)
throws IOException
- Throws:
IOException
getIconName
protected static String getIconName(String shortName,
int size)
setServerPrefs
public void setServerPrefs(ServerPrefs prefs)
setAllowOffline
public void setAllowOffline(boolean allowOffline)
writeJNLPFile
public void writeJNLPFile()
throws IOException
- Throws:
IOException
writeJNLPFile
public void writeJNLPFile(String dir)
throws IOException
- Throws:
IOException
createDocument
public Document createDocument()
main
public static void main(String[] args)
throws IOException
- Parameters:
args -
- Throws:
IOException