public class LogMetadata
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.time.LocalDate |
date
The date the log entries were created.
|
static java.util.regex.Pattern |
filenamePattern
The mandatory web server log descriptor file name pattern.
|
org.torproject.descriptor.internal.FileType |
fileType
The log's compression type.
|
java.nio.file.Path |
path
The path of the log file to be imported.
|
java.lang.String |
physicalHost
The name of the physical host.
|
java.lang.String |
virtualHost
The name of the virtual host.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<LogMetadata> |
create(java.nio.file.Path logPath)
Only way to create a LogMetadata object from a given log path.
|
public static final java.util.regex.Pattern filenamePattern
public final java.nio.file.Path path
public final java.time.LocalDate date
public final org.torproject.descriptor.internal.FileType fileType
public final java.lang.String physicalHost
public final java.lang.String virtualHost
public static java.util.Optional<LogMetadata> create(java.nio.file.Path logPath)