Interface LanguageManager.Info

Enclosing interface:
LanguageManager

public static interface LanguageManager.Info
Information about a resource in a language tree.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the resource exists at the given path.
    long
    Returns the last modification date of the resource
    Returns the path
    boolean
    Checks if the resource has content at the given path
  • Method Details

    • getPath

      String getPath()
      Returns the path
      Returns:
      the path
    • exists

      boolean exists()
      Checks if the resource exists at the given path.
      Returns:
      true if the resource exists at the given path
    • hasContent

      boolean hasContent()
      Checks if the resource has content at the given path
      Returns:
      true if the resource has content at the given path
    • getLastModified

      long getLastModified()
      Returns the last modification date of the resource
      Returns:
      the last modification date or 0