org.wcb.installs
Class OSSystem
java.lang.Object
org.wcb.installs.OSSystem
- Direct Known Subclasses:
- UnixSystem, WindowsSystem
- public class OSSystem
- extends java.lang.Object
Field Summary |
protected static java.lang.String |
LINE_SEP
|
protected static java.lang.String |
SEP
|
Method Summary |
boolean |
createNewDirectory(java.lang.String dirname)
Attempt to make a brand new directory
a botched attempt will return a false; |
boolean |
directoryExists(java.lang.String dirname)
Check if the Directory exists
If it does then return true. |
protected java.util.Vector |
jarFilesExist(java.lang.String homeDir)
|
void |
writeFile(java.lang.String fileText,
java.lang.String fileNameOut)
This takes a file name and writes the string information
out to the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEP
protected static java.lang.String SEP
LINE_SEP
protected static java.lang.String LINE_SEP
OSSystem
public OSSystem()
jarFilesExist
protected java.util.Vector jarFilesExist(java.lang.String homeDir)
createNewDirectory
public boolean createNewDirectory(java.lang.String dirname)
- Attempt to make a brand new directory
a botched attempt will return a false;
directoryExists
public boolean directoryExists(java.lang.String dirname)
- Check if the Directory exists
If it does then return true.
writeFile
public void writeFile(java.lang.String fileText,
java.lang.String fileNameOut)
- This takes a file name and writes the string information
out to the file.
Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.