Class SimpleFileManager
java.lang.Object
com.ibm.dtfj.utils.file.FileManager
com.ibm.dtfj.utils.file.SimpleFileManager
- Direct Known Subclasses:
CompressedFileManager
Simple file manager for dealing with files that are intended to be read directly.
-
Field Summary
FieldsFields declared in class FileManager
logger, MIN_CORE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a stream for the file which is being managed, this could be an archive file or a normal file.Methods declared in class FileManager
createTempDir, fileExists, genJavacoreName, getJavaCoreNameFromPHD, getManager, isArchiveModifier and TypeMethodDescriptionstatic FilecreateTempDir(File parent) Creates a unique temporary directory under the specified parentstatic booleanfileExists(File file) A platform aware file existence checker that allows for MVS datasets on z/OSprotected StringgenJavacoreName(String[] s, int inc, int componentToInc) protected String[]getJavaCoreNameFromPHD(String name) Generate a list of possible javacore names from a given phd name.static FileManagergetManager(File file) Factory method for getting the correct manager to deal with the supplied filestatic boolean
-
Field Details
-
managedFile
-
-
Constructor Details
-
SimpleFileManager
-
-
Method Details
-
getImageSources
- Throws:
IOException
-
getStream
Description copied from class:FileManagerGets a stream for the file which is being managed, this could be an archive file or a normal file. If this is a compressed file then the stream returned will be a 'raw' stream onto file itself.- Specified by:
getStreamin classFileManager- Returns:
- Throws:
IOException
-