Module openj9.dtfj

Class ManagedImageSource

java.lang.Object
com.ibm.dtfj.utils.file.ManagedImageSource

public class ManagedImageSource extends Object
Represents a managed core file. The core can reside in a compressed archive or be extracted to the local file system.
  • Constructor Details

  • Method Details

    • getType

      public ImageSourceType getType()
    • hasMetaData

      public boolean hasMetaData()
    • getMetadata

      public ManagedImageSource getMetadata()
    • setMetadata

      public void setMetadata(ManagedImageSource metadata)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • isCompressed

      public boolean isCompressed()
    • getName

      public String getName()
    • getArchive

      public File getArchive()
    • setArchive

      public void setArchive(File archive)
    • getExtractedTo

      public File getExtractedTo()
    • setExtractedTo

      public void setExtractedTo(File extractedTo)
    • getRefCount

      public int getRefCount()
    • incRefCount

      public void incRefCount()
    • decRefCount

      public void decRefCount()
    • getPathToExtractedFile

      public String getPathToExtractedFile()
    • getURIOfExtractedFile

      public URI getURIOfExtractedFile()
      Provides a URI for the location of the file after it has been extracted i.e. in a temporary directory
      Returns:
    • toURI

      public URI toURI()
      Provides a URI for the location of the file before it has been extracted i.e. within the archive
      Returns: