Class LogFileWriter
java.lang.Object
com.sk89q.worldguard.blacklist.logger.LogFileWriter
- All Implemented Interfaces:
Comparable<LogFileWriter>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(LogFileWriter other) long
getPath()
File path.void
Update last use time.
-
Field Details
-
path
-
-
Constructor Details
-
LogFileWriter
Construct the object.- Parameters:
path
- The path to write towriter
- The writer for the file
-
-
Method Details
-
getPath
File path.- Returns:
- The path the logger is logging to
-
getWriter
- Returns:
- the writer being logged to
-
getLastUse
public long getLastUse()- Returns:
- the lastUse
-
updateLastUse
public void updateLastUse()Update last use time. -
compareTo
- Specified by:
compareTo
in interfaceComparable<LogFileWriter>
-