|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threerings.jpkg.ant.dpkg.scripts.runner.EncodedScript
public class EncodedScript
A base64 encoded version of a PackageScript
suitable for input to the uuencode command.
This class is public as required by Velocity, and should not be considered part of the public API.
Constructor Summary | |
---|---|
EncodedScript(PackageScript source,
DpkgData data)
Construct a new EncodedScript from the supplied PackageScript . |
Method Summary | |
---|---|
boolean |
failOnError()
Returns whether this scripts failure should be reported to the packaging system. |
String |
getEncodedSource()
Returns the original script source base64 encoded. |
String |
getFriendlyName()
Returns a human readable name for this script. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodedScript(PackageScript source, DpkgData data) throws IOException
PackageScript
.
source
- The PackageScript
to encode.data
- The DpkgData
to pass to the script.
IOException
- If the encoding fails.Method Detail |
---|
public String getFriendlyName()
PackageScript.getFriendlyName()
public boolean failOnError()
PackageScript.failOnError()
public String getEncodedSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |