Interface SpoonFile

    • Method Detail

      • getContent

        java.io.InputStream getContent()
        Gets the file content as a stream.
      • isJava

        boolean isJava()
        True if a Java source code file.
      • isActualFile

        boolean isActualFile()
        Tells if this file is an actual file (not a virtual file that holds in-memory contents).
        Returns:
      • getContentChars

        default char[] getContentChars​(Environment env)
        Gets the file content as a char array, considering encoding or encoding provider.