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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(ASFileType other)java.lang.Stringdirectory()java.lang.Stringname()longsize()
-
-
-
Method Detail
-
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
default int compareTo(ASFileType other)
- Specified by:
compareToin interfacejava.lang.Comparable<ASFileType>
-
-