NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import Datasource from 'ngl/src/datasource/datasource.js'
public interface | source

Datasource

Datasource base class

Method Summary

Public Methods
public abstract

getExt(path: String): String

Get file extension

public abstract

getUrl(path: String): String

Get full url

Public Methods

public abstract getExt(path: String): String source

Get file extension

Params:

NameTypeAttributeDescription
path String

datasource string

Return:

String

extension

public abstract getUrl(path: String): String source

Get full url

Params:

NameTypeAttributeDescription
path String

datasource string

Return:

String

url