# Class: PreloadJSLoaderBuilder

## coreutils. PreloadJSLoaderBuilder

#### new PreloadJSLoaderBuilder()

  Static builder class to create PreloadJS loaders

### Methods

#### <static> createAlernativeLoader(data, basePath)

  Create alterantive laoder whitch takes first file that is available

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `data` | coreutils.LoaderDataVO | loader info data
  `basePath` | string | undefined | base path for loader

  ##### Returns:

  loader
  Type
    coreutils.AlternativeLoader

#### <static> createQueueLoader(data, basePath, maxConnections)

  Create loader for multiple files

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `data` | coreutils.LoaderDataVO | loader info data
  `basePath` | string | undefined | base path for loader
  `maxConnections` | number | undefined | max parallel downloads

  ##### Returns:

  loader
  Type
    createjs.LoadQueue

#### <static> createSingleLoader(data, basePath)

  Create laoder for single file

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `data` | coreutils.LoaderDataVO | loader info data
  `basePath` | string | undefined | base path for loader

  ##### Returns:

  loader
  Type
    createjs.LoadQueue

#### Search results