- java.lang.Object
-
- com.microsoft.gctoolkit.io.LogFileMetadata
-
- com.microsoft.gctoolkit.io.SingleLogFileMetadata
-
public class SingleLogFileMetadata extends LogFileMetadata
Meta-data about aFileDataSource.
-
-
Constructor Summary
Constructors Constructor Description SingleLogFileMetadata(Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfFiles()Return the number of files.Stream<LogFileSegment>logFiles()-
Methods inherited from class com.microsoft.gctoolkit.io.LogFileMetadata
getPath, isDirectory, isGZip, isPlainText, isZip
-
-
-
-
Constructor Detail
-
SingleLogFileMetadata
public SingleLogFileMetadata(Path path) throws IOException
- Throws:
IOException
-
-
Method Detail
-
logFiles
public Stream<LogFileSegment> logFiles()
- Specified by:
logFilesin classLogFileMetadata
-
getNumberOfFiles
public int getNumberOfFiles()
Description copied from class:LogFileMetadataReturn the number of files. Useful if the file is a compressed file which may contain multiple entries.- Specified by:
getNumberOfFilesin classLogFileMetadata- Returns:
- The number of files in the file.
-
-