Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IResource

资源配置抽象

Hierarchy

  • IResource

Implemented by

Properties

Readonly contentLength

contentLength: number

encoding

encoding: string

Readonly lastModified

lastModified: number

Readonly name

name: string

Methods

createRelative

exists

  • exists(): boolean

getContent

  • getContent(): Buffer

getContentAsJSON

  • getContentAsJSON(): object

getPath

  • getPath(): string

getSubResources

getURL

  • getURL(): any

isDir

  • isDir(): boolean

isFile

  • isFile(): boolean

isURL

  • isURL(): boolean

Generated using TypeDoc