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

      default int compareTo​(ASFileType other)
      Specified by:
      compareTo in interface java.lang.Comparable<ASFileType>