Interface ClientFile


public interface ClientFile
Represents a file on the client.
Since:
2.3
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the file on the client, without path information.
    long
    Returns the size of the File on the client.
    The string in lower case representing the MIME type of the file.
  • Method Details

    • getName

      String getName()
      The name of the file on the client, without path information. If the client can not determine the file name the string will be empty.
      Returns:
      the file name as a string. May be empty, but never null.
    • getType

      String getType()
      The string in lower case representing the MIME type of the file. If the client can not determine the file type the string will be empty.
      Returns:
      the type of the file. May be empty, but never null.
    • getSize

      long getSize()
      Returns the size of the File on the client.
      Returns:
      the size in bytes.