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 intcompareTo(ASFileType other)java.lang.Stringdirectory()java.lang.Stringname()longsize()
-
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:
compareToin interfacejava.lang.Comparable<ASFileType>
-