Class PathWithAttributes
- java.lang.Object
-
- org.apache.logging.log4j.core.appender.rolling.action.PathWithAttributes
-
public class PathWithAttributes extends java.lang.ObjectTuple of aPathandBasicFileAttributes, used for sorting.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.attribute.BasicFileAttributesattributesprivate java.nio.file.Pathpath
-
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.BasicFileAttributesgetAttributes()Returns the attributes.java.nio.file.PathgetPath()Returns the path.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-