Class FileRead

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.io.FileRead

@BoxBIF @BoxBIF(alias="FileReadBinary") public class FileRead extends BIF
  • Constructor Details

    • FileRead

      public FileRead()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Reads the contents of a file and returns it as a string or binary object
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation