Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
CASUAL.caspac.Build Class Reference

Public Member Functions

 Build (Caspac caspac)
 
 Build (InputStream prop, final Caspac caspac) throws IOException
 
 Build (Properties prop, final Caspac caspac)
 
boolean write (String output) throws FileNotFoundException, IOException
 
boolean write (File output) throws FileNotFoundException, IOException
 
InputStream getBuildPropInputStream () throws IOException
 
String getDeveloperName ()
 
Build setDeveloperName (String developerName)
 
String getDeveloperDonateButtonText ()
 
Build setDeveloperDonateButtonText (String developerDonateButtonText)
 
String getDonateLink ()
 
Build setDonateLink (String donateLink)
 
String getWindowTitle ()
 
Build setWindowTitle (String windowTitle)
 
boolean isUsePictureForBanner ()
 
Build setUsePictureForBanner (boolean usePictureForBanner)
 
String getBannerPic ()
 
Build setBannerPic (String bannerPic)
 
String getBannerText ()
 
Build setBannerText (String bannerText)
 
String getExecuteButtonText ()
 
Build setExecuteButtonText (String executeButtonText)
 
boolean isAudioEnabled ()
 
Build setAudioEnabled (boolean audioEnabled)
 
boolean isAlwaysEnableControls ()
 
Build setAlwaysEnableControls (boolean alwaysEnableControls)
 
Properties getBuildProp ()
 
Build setBuildProp (Properties buildProp)
 
Caspac getBuild ()
 
Build setBuild (Caspac build)
 
 Build (Caspac caspac)
 
 Build (InputStream prop, final Caspac caspac) throws IOException
 
 Build (Properties prop, final Caspac caspac)
 
boolean write (String output) throws FileNotFoundException, IOException
 
boolean write (File output) throws FileNotFoundException, IOException
 
InputStream getBuildPropInputStream () throws IOException
 
String getDeveloperName ()
 
Build setDeveloperName (String developerName)
 
String getDeveloperDonateButtonText ()
 
Build setDeveloperDonateButtonText (String developerDonateButtonText)
 
String getDonateLink ()
 
Build setDonateLink (String donateLink)
 
String getWindowTitle ()
 
Build setWindowTitle (String windowTitle)
 
boolean isUsePictureForBanner ()
 
Build setUsePictureForBanner (boolean usePictureForBanner)
 
String getBannerPic ()
 
Build setBannerPic (String bannerPic)
 
String getBannerText ()
 
Build setBannerText (String bannerText)
 
String getExecuteButtonText ()
 
Build setExecuteButtonText (String executeButtonText)
 
boolean isAudioEnabled ()
 
Build setAudioEnabled (boolean audioEnabled)
 
boolean isAlwaysEnableControls ()
 
Build setAlwaysEnableControls (boolean alwaysEnableControls)
 
Properties getBuildProp ()
 
Build setBuildProp (Properties buildProp)
 
Caspac getBuild ()
 
Build setBuild (Caspac build)
 

Detailed Description

build class is a reference to handle -build.properties information

Constructor & Destructor Documentation

CASUAL.caspac.Build.Build ( Caspac  caspac)

Creates a blank build.prop file

Parameters
caspacreference to caspac
CASUAL.caspac.Build.Build ( InputStream  prop,
final Caspac  caspac 
) throws IOException

Accepts a -Build.properties file via InputStream.

Parameters
propProperties file.
caspacto be associated with the build
Exceptions
IOExceptionwhen permissions problem exists.
CASUAL.caspac.Build.Build ( Properties  prop,
final Caspac  caspac 
)

loads and sets properties file

Parameters
propbuild.properties file
caspacto be assocaiated with the build
CASUAL.caspac.Build.Build ( Caspac  caspac)

Creates a blank build.prop file

Parameters
caspacreference to caspac
CASUAL.caspac.Build.Build ( InputStream  prop,
final Caspac  caspac 
) throws IOException

Accepts a -Build.properties file via InputStream.

Parameters
propProperties file.
caspacto be associated with the build
Exceptions
IOExceptionwhen permissions problem exists.
CASUAL.caspac.Build.Build ( Properties  prop,
final Caspac  caspac 
)

loads and sets properties file

Parameters
propbuild.properties file
caspacto be assocaiated with the build

Member Function Documentation

String CASUAL.caspac.Build.getBannerPic ( )
Returns
the bannerPic
String CASUAL.caspac.Build.getBannerPic ( )
Returns
the bannerPic
String CASUAL.caspac.Build.getBannerText ( )
Returns
the bannerText
String CASUAL.caspac.Build.getBannerText ( )
Returns
the bannerText
Caspac CASUAL.caspac.Build.getBuild ( )
Returns
the build
Caspac CASUAL.caspac.Build.getBuild ( )
Returns
the build
Properties CASUAL.caspac.Build.getBuildProp ( )
Returns
the buildProp
Properties CASUAL.caspac.Build.getBuildProp ( )
Returns
the buildProp
InputStream CASUAL.caspac.Build.getBuildPropInputStream ( ) throws IOException

gets the -Build.properties as an InputStream

Returns
InputStream properties file for write-out.
Exceptions
IOExceptionwhen permissions problem exists.
InputStream CASUAL.caspac.Build.getBuildPropInputStream ( ) throws IOException

gets the -Build.properties as an InputStream

Returns
InputStream properties file for write-out.
Exceptions
IOExceptionwhen permissions problem exists.
String CASUAL.caspac.Build.getDeveloperDonateButtonText ( )
Returns
the developerDonateButtonText
String CASUAL.caspac.Build.getDeveloperDonateButtonText ( )
Returns
the developerDonateButtonText
String CASUAL.caspac.Build.getDeveloperName ( )
Returns
the developerName
String CASUAL.caspac.Build.getDeveloperName ( )
Returns
the developerName
String CASUAL.caspac.Build.getDonateLink ( )
Returns
the donateLink
String CASUAL.caspac.Build.getDonateLink ( )
Returns
the donateLink
String CASUAL.caspac.Build.getExecuteButtonText ( )
Returns
the executeButtonText
String CASUAL.caspac.Build.getExecuteButtonText ( )
Returns
the executeButtonText
String CASUAL.caspac.Build.getWindowTitle ( )
Returns
the windowTitle
String CASUAL.caspac.Build.getWindowTitle ( )
Returns
the windowTitle
boolean CASUAL.caspac.Build.isAlwaysEnableControls ( )
Returns
the alwaysEnableControls
boolean CASUAL.caspac.Build.isAlwaysEnableControls ( )
Returns
the alwaysEnableControls
boolean CASUAL.caspac.Build.isAudioEnabled ( )
Returns
the audioEnabled
boolean CASUAL.caspac.Build.isAudioEnabled ( )
Returns
the audioEnabled
boolean CASUAL.caspac.Build.isUsePictureForBanner ( )
Returns
the usePictureForBanner
boolean CASUAL.caspac.Build.isUsePictureForBanner ( )
Returns
the usePictureForBanner
Build CASUAL.caspac.Build.setAlwaysEnableControls ( boolean  alwaysEnableControls)
Parameters
alwaysEnableControlsthe alwaysEnableControls to set
Returns
this Build
Build CASUAL.caspac.Build.setAlwaysEnableControls ( boolean  alwaysEnableControls)
Parameters
alwaysEnableControlsthe alwaysEnableControls to set
Returns
this Build
Build CASUAL.caspac.Build.setAudioEnabled ( boolean  audioEnabled)
Parameters
audioEnabledthe audioEnabled to set
Returns
this Build
Build CASUAL.caspac.Build.setAudioEnabled ( boolean  audioEnabled)
Parameters
audioEnabledthe audioEnabled to set
Returns
this Build
Build CASUAL.caspac.Build.setBannerPic ( String  bannerPic)
Parameters
bannerPicthe bannerPic to set
Returns
this Build
Build CASUAL.caspac.Build.setBannerPic ( String  bannerPic)
Parameters
bannerPicthe bannerPic to set
Returns
this Build
Build CASUAL.caspac.Build.setBannerText ( String  bannerText)
Parameters
bannerTextthe bannerText to set
Returns
returns this Build object
Build CASUAL.caspac.Build.setBannerText ( String  bannerText)
Parameters
bannerTextthe bannerText to set
Returns
returns this Build object
Build CASUAL.caspac.Build.setBuild ( Caspac  build)
Parameters
buildthe build to set
Returns
this Build
Build CASUAL.caspac.Build.setBuild ( Caspac  build)
Parameters
buildthe build to set
Returns
this Build
Build CASUAL.caspac.Build.setBuildProp ( Properties  buildProp)
Parameters
buildPropthe buildProp to set
Returns
this Build
Build CASUAL.caspac.Build.setBuildProp ( Properties  buildProp)
Parameters
buildPropthe buildProp to set
Returns
this Build
Build CASUAL.caspac.Build.setDeveloperDonateButtonText ( String  developerDonateButtonText)
Parameters
developerDonateButtonTextthe developerDonateButtonText to set
Returns
this Build
Build CASUAL.caspac.Build.setDeveloperDonateButtonText ( String  developerDonateButtonText)
Parameters
developerDonateButtonTextthe developerDonateButtonText to set
Returns
this Build
Build CASUAL.caspac.Build.setDeveloperName ( String  developerName)
Parameters
developerNamethe developerName to set
Returns
this instance of Build
Build CASUAL.caspac.Build.setDeveloperName ( String  developerName)
Parameters
developerNamethe developerName to set
Returns
this instance of Build
Build CASUAL.caspac.Build.setDonateLink ( String  donateLink)
Parameters
donateLinkthe donateLink to set
Returns
this Build
Build CASUAL.caspac.Build.setDonateLink ( String  donateLink)
Parameters
donateLinkthe donateLink to set
Returns
this Build
Build CASUAL.caspac.Build.setExecuteButtonText ( String  executeButtonText)
Parameters
executeButtonTextthe executeButtonText to set
Returns
this Build object
Build CASUAL.caspac.Build.setExecuteButtonText ( String  executeButtonText)
Parameters
executeButtonTextthe executeButtonText to set
Returns
this Build object
Build CASUAL.caspac.Build.setUsePictureForBanner ( boolean  usePictureForBanner)
Parameters
usePictureForBannerthe usePictureForBanner to set
Returns
this Build
Build CASUAL.caspac.Build.setUsePictureForBanner ( boolean  usePictureForBanner)
Parameters
usePictureForBannerthe usePictureForBanner to set
Returns
this Build
Build CASUAL.caspac.Build.setWindowTitle ( String  windowTitle)
Parameters
windowTitlethe windowTitle to set
Returns
this Build
Build CASUAL.caspac.Build.setWindowTitle ( String  windowTitle)
Parameters
windowTitlethe windowTitle to set
Returns
this Build
boolean CASUAL.caspac.Build.write ( String  output) throws FileNotFoundException, IOException

writes build properties to a file

Parameters
outputfile to write
Returns
true if file was written
Exceptions
FileNotFoundExceptionwhen file cannot be created
IOExceptionwhen permissions problem exists.
boolean CASUAL.caspac.Build.write ( String  output) throws FileNotFoundException, IOException

writes build properties to a file

Parameters
outputfile to write
Returns
true if file was written
Exceptions
FileNotFoundExceptionwhen file cannot be created
IOExceptionwhen permissions problem exists.
boolean CASUAL.caspac.Build.write ( File  output) throws FileNotFoundException, IOException

writes build properties to a file

Parameters
outputfile to write
Returns
true if file was written
Exceptions
FileNotFoundExceptionwhen file cannot be created
IOExceptionwhen permissions problem exists.
boolean CASUAL.caspac.Build.write ( File  output) throws FileNotFoundException, IOException

writes build properties to a file

Parameters
outputfile to write
Returns
true if file was written
Exceptions
FileNotFoundExceptionwhen file cannot be created
IOExceptionwhen permissions problem exists.

The documentation for this class was generated from the following file: