|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.UpdateInstaller.FixUtils
public class FixUtils
A variety of utilities and constants available for use throughout the update installer.
Field Summary | |
---|---|
static String |
AIX
String representing the AIX operating system |
static String |
AMC
String representing the AMC TDI component |
static String |
BASE
String representing the BASE TDI component |
static String |
CE
String representing the CE TDI component |
static String |
CE_UPDATE
String representing the CE Update TDI component |
static String |
EDITION
String representing the EDITION section of the .registry file |
static String |
EWP
String representing the BASE TDI component |
static String |
EXAMPLES
String representing the Examples TDI component |
static String |
FIXES
String representing the FIXES section of the .registry file |
static String |
FIXPACK_INDICATOR
String representing a fixpack. |
static String |
FULL
String representing the full license version of TDI |
static String |
GENERAL
String representing the General Purpose version of TDI |
static String |
HPIA64
String representing the HP-UX 64 bit Itanium operating system |
static String |
HPUX
String representing an HP-UX operating system |
static String |
I5OS
String representing the I5OS operating system |
static String |
IDENTITY
String representing the Identity version of TDI |
static String |
IEHS
String representing the IEHS TDI component |
static String |
JDOCS
String representing the JavaDocs TDI component |
static String |
LEVEL
String representing the LEVEL section of the .registry file |
static String |
LICENSE
String representing the LICENSE section of the .registry file |
static String |
LINUX
String representing a Linux operating system |
static String |
LINUX_AMD64
String representing the Linux AMD64 operating system |
static String |
LINUX_PPC
String representing the Linux PPC operating system |
static String |
NAME
String representing the NAME section of the .manifest file |
static String |
NONE
String representing the value "None" |
static String |
OBJECT_CODE
The copyright notice for binary java code required by legal. |
static String |
OPTERON
String representing the Solaris Opteron operating system |
static String |
PLUGINS
String representing the PLUGINS TDI component |
static String |
PREREQ
String representing the PREREQ section of the .manifest file |
static String |
SERVER
String representing the SERVER TDI component |
static String |
SOLARIS
String representing a Solaris operating system |
static String |
TRIAL
String representing the trial license version of TDI |
static String |
UNKNOWN
String representing an unknown operating system |
static String |
WINDOWS
String representing a Windows operating system |
static String |
WINDOWS64
String representing the Windows AMD64 |
static String |
ZLINUX
String representing the zLinux operating system |
Method Summary | |
---|---|
static int |
createAndExecUnixScript(String[] cmds)
Creates a temporary script named ./tempScript.sh from the commands in the passed in array and then executes that script. |
static int |
executeCommand(String[] commands)
Executes an operating system command. |
static String[] |
getComponents()
Gets the list of TDI components |
static String |
getOS()
Determines the current operating system. |
static String[] |
readFile(InputStream infile)
Given an InputStream, will read a file into an array. |
static String[] |
readFile(String filename)
Given a filename, will read that file into an array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OBJECT_CODE
public static final String BASE
public static final String SERVER
public static final String CE
public static final String CE_UPDATE
public static final String JDOCS
public static final String EXAMPLES
public static final String IEHS
public static final String EWP
public static final String AMC
public static final String PLUGINS
public static final String FIXES
public static final String LEVEL
public static final String PREREQ
public static final String NAME
public static final String EDITION
public static final String LICENSE
public static final String TRIAL
public static final String FULL
public static final String GENERAL
public static final String IDENTITY
public static final String NONE
public static final String WINDOWS
public static final String WINDOWS64
public static final String I5OS
public static final String ZLINUX
public static final String AIX
public static final String SOLARIS
public static final String OPTERON
public static final String LINUX_PPC
public static final String LINUX_AMD64
public static final String LINUX
public static final String HPIA64
public static final String HPUX
public static final String UNKNOWN
public static final String FIXPACK_INDICATOR
Method Detail |
---|
public static final String[] getComponents()
public static String[] readFile(InputStream infile)
infile
- The InputStream to be read
public static String[] readFile(String filename)
filename
- The name of the file to be read
public static int executeCommand(String[] commands)
commands
- An array representing a command to run and its arguments
public static String getOS()
public static int createAndExecUnixScript(String[] cmds)
cmds
- Commands to write to the temporary script file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |