Interface ASFileType
- All Superinterfaces:
java.lang.Comparable<ASFileType>
- All Known Implementing Classes:
ASFile
@Immutable public interface ASFileType extends java.lang.Comparable<ASFileType>
A file name and size.
-
Method Summary
Modifier and Type Method Description default int
compareTo(ASFileType other)
java.lang.String
directory()
java.lang.String
name()
long
size()
-
Method Details
-
directory
java.lang.String directory()- Returns:
- The directory name
-
name
java.lang.String name()- Returns:
- The file name
-
size
long size()- Returns:
- The file size
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<ASFileType>
-