Class PathWithAttributes
- java.lang.Object
-
- org.apache.logging.log4j.core.appender.rolling.action.PathWithAttributes
-
public class PathWithAttributes extends java.lang.Object
Tuple of aPath
andBasicFileAttributes
, used for sorting.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.attribute.BasicFileAttributes
attributes
private java.nio.file.Path
path
-
Constructor Summary
Constructors Constructor Description PathWithAttributes(java.nio.file.Path path, java.nio.file.attribute.BasicFileAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.attribute.BasicFileAttributes
getAttributes()
Returns the attributes.java.nio.file.Path
getPath()
Returns the path.java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getPath
public java.nio.file.Path getPath()
Returns the path.- Returns:
- the path
-
getAttributes
public java.nio.file.attribute.BasicFileAttributes getAttributes()
Returns the attributes.- Returns:
- the attributes
-
-