Options
All
  • Public
  • Public/Protected
  • All
Menu

Class File

File

Utility class to load file(s).

Hierarchy

  • File

Index

Constructors

constructor

  • new File(fileName: string): File
  • Creates a File object with a specified name.

    param.

    fileName

    Parameters

    • fileName: string

    Returns File

Methods

loadFileAsData

  • loadFileAsData(): any
  • Returns a data object created by reading the named file.

    see

    loadFileAsstring

    Returns any

loadFileAsstring

  • loadFileAsstring(): string
  • Returns a string created by reading data from the named file.

    see

    loadFileAsstring

    Returns string

Generated using TypeDoc