- java.lang.Object
-
- com.ibm.jvm.format.ServiceSection
-
public class ServiceSection extends Object
Service section of a file header.
-
-
Constructor Summary
Constructors Constructor Description ServiceSection(TraceFile traceFile, int start)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
formatFileName()
protected String
getNextFormatFileName(String previous)
Method to search forward through dat files.protected String
getServiceLevel()
protected String
getVMLevel()
protected void
summary(BufferedWriter out)
-
-
-
Constructor Detail
-
ServiceSection
public ServiceSection(TraceFile traceFile, int start) throws IOException
- Throws:
IOException
-
-
Method Detail
-
summary
protected void summary(BufferedWriter out) throws IOException
- Throws:
IOException
-
formatFileName
protected String formatFileName()
-
getNextFormatFileName
protected String getNextFormatFileName(String previous)
Method to search forward through dat files. Trace is forward compatible, so a newer JVM should always be able to format the trace from an older JVM. This means that, for example, a 2.3 tracefile can use J9TraceFormat24.dat correctly.- Parameters:
previous
- - the last filename tried- Returns:
- the next filename to try, or null if all options are exhausted
-
getServiceLevel
protected String getServiceLevel()
-
getVMLevel
protected String getVMLevel()
-
-