org.ninjasoft.macpackager
Class InfoBuilder
java.lang.Object
org.ninjasoft.macpackager.InfoBuilder
- public class InfoBuilder
- extends java.lang.Object
A simple builder of the Info.plist file. This could have alternately been
done by loading an XML file and XPathing various results (or XSLT), but to
keep dependencies low, basic strings are what we ended up using.
- Author:
- Brian Enigma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfoBuilder
public InfoBuilder()
getXml
public java.lang.String getXml()
getBundleName
public java.lang.String getBundleName()
- Returns:
- Returns the bundleName.
setBundleName
public void setBundleName(java.lang.String bundleName)
- Parameters:
bundleName
- The bundleName to set.
getInfoString
public java.lang.String getInfoString()
- Returns:
- Returns the infoString.
setInfoString
public void setInfoString(java.lang.String infoString)
- Parameters:
infoString
- The infoString to set.
addJarFile
public void addJarFile(java.lang.String filename)
getMainClass
public java.lang.String getMainClass()
- Returns:
- Returns the mainClass.
setMainClass
public void setMainClass(java.lang.String mainClass)
- Parameters:
mainClass
- The mainClass to set.
getVersion
public java.lang.String getVersion()
- Returns:
- Returns the version.
setVersion
public void setVersion(java.lang.String version)
- Parameters:
version
- The version to set.
getVmOptions
public java.lang.String getVmOptions()
- Returns:
- Returns the vmOptions.
setVmOptions
public void setVmOptions(java.lang.String vmOptions)
- Parameters:
vmOptions
- The vmOptions to set.
Copyright © 2004 Ninjasoft. All Rights Reserved.