| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv static Map | |
| pack-priv static long | |
| pack-priv String | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the object is the same as this object and false otherwisethe object to compare with this object other)Overrides java. |
| public boolean | |
| public static Program | Returns: the program ornullthe program extension extension)Finds the program that is associated with an extension. |
| public static String[] | Returns: an array of extensionsAnswer all program extensions in the operating system. |
| public ImageData | Returns: the image data for the program, may be nullReturns the receiver's image data at 100% zoom level. |
| public ImageData | Returns: the image data for the program, may be nullThe zoom level in % of the standard resolution zoom)Returns the receiver's image data based on the given zoom level. |
| public String | |
| public static Program[] | |
| pack-priv boolean | |
| pack-priv static Map | |
| pack-priv static String | |
| pack-priv static Program | |
| pack-priv static Program | |
| pack-priv static boolean | |
| public int | Returns: the receiver's hashOverrides java. |
| pack-priv static boolean | |
| public static boolean | |
| public static boolean | |
| pack-priv static String[] | |
| public String | Returns: a string representation of the programOverrides java. |
| command | back to summary |
|---|---|
| pack-priv String command | |
| gioExpectUri | back to summary |
|---|---|
| pack-priv boolean gioExpectUri | |
| iconPath | back to summary |
|---|---|
| pack-priv String iconPath | |
| mimeTable | back to summary |
|---|---|
| pack-priv static Map<String, List<String>> mimeTable | |
| modTime | back to summary |
|---|---|
| pack-priv static long modTime | |
| name | back to summary |
|---|---|
| pack-priv String name | |
| PREFIX_HTTP | back to summary |
|---|---|
| pack-priv static final String PREFIX_HTTP | |
| PREFIX_HTTPS | back to summary |
|---|---|
| pack-priv static final String PREFIX_HTTPS | |
| Program | back to summary |
|---|---|
| pack-priv Program() Prevents uninitialized instances from being created outside the package. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
| |
| execute | back to summary |
|---|---|
| public boolean execute(String fileName) Executes the program with the file as the single argument in the operating system. It is the responsibility of the programmer to ensure that the file contains valid data for this program.
| |
| findProgram | back to summary |
|---|---|
| public static Program findProgram(String extension) Finds the program that is associated with an extension.
The extension may or may not begin with a '.'. Note that
a
| |
| getExtensions | back to summary |
|---|---|
| public static String[] getExtensions() Answer all program extensions in the operating system. Note
that a
| |
| getImageData | back to summary |
|---|---|
| public ImageData getImageData() Returns the receiver's image data at 100% zoom level. This is the icon that is associated with the receiver in the operating system.
| |
| getImageData | back to summary |
|---|---|
| public ImageData getImageData(int zoom) Returns the receiver's image data based on the given zoom level. This is the icon that is associated with the receiver in the operating system.
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the receiver's name. This is as short and descriptive a name as possible for the program. If the program has no descriptive name, this string may be the executable name, path or empty.
| |
| getPrograms | back to summary |
|---|---|
| public static Program[] getPrograms() Answers all available programs in the operating system. Note
that a
| |
| gio_execute | back to summary |
|---|---|
| pack-priv boolean gio_execute(String fileName) GIO - Execute the program for the given file. | |
| gio_getMimeInfo | back to summary |
|---|---|
| pack-priv static Map | |
| gio_getMimeType | back to summary |
|---|---|
| pack-priv static String gio_getMimeType(String extension) | |
| gio_getProgram | back to summary |
|---|---|
| pack-priv static Program gio_getProgram(String mimeType) | |
| gio_getProgram | back to summary |
|---|---|
| pack-priv static Program gio_getProgram(long application) | |
| gio_launch | back to summary |
|---|---|
| pack-priv static boolean gio_launch(String fileName) GIO - Launch the default program for the given file. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns an integer hash code for the receiver. Any two
objects that return
| |
| isExecutable | back to summary |
|---|---|
| pack-priv static boolean isExecutable(String fileName) | |
| launch | back to summary |
|---|---|
| public static boolean launch(String fileName) Launches the operating system executable associated with the file or
URL (http:// or https://). If the file is an executable then the
executable is launched. Note that a
| |
| launch | back to summary |
|---|---|
| public static boolean launch(String fileName, String workingDir) Launches the operating system executable associated with the file or
URL (http:// or https://). If the file is an executable then the
executable is launched. The program is launched with the specified
working directory only when the
| |
| parseCommand | back to summary |
|---|---|
| pack-priv static String[] parseCommand(String cmd) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string containing a concise, human-readable description of the receiver. | |