FileContext

public class FileContext

Class FileContext. Provides filecontext functionality for the Hytale server.

java.lang.Object > FileContext

Field Summary

value

final T value

Field value.

Method Detail

FileContext

public public FileContext (final int id, final String name, final Path filepath, final T parentContext)

Method FileContext.

Parameters:
final int id
final String name
final Path filepath
final T parentContext

getId

public int getId ()

Method getId.

getName

public String getName ()

Method getName.

getPath

public Path getPath ()

Method getPath.

getParentContext

public T getParentContext ()

Method getParentContext.

Registry

public public Registry (final String name)

Method Registry.

Parameters:
final String name

size

public int size ()

Method size.

contains

public boolean contains (final String name)

Method contains.

Parameters:
final String name

get

public T get (final String name)

Method get.

Parameters:
final String name

Error

public new Error (String.format("Missing %s entry for key %s", this.registryName, name)

Method Error.

Parameters:
String.format("Missing %s entry for key %s"
this.registryName this.registryName
name name

register

public void register (final String name, final T biome)

Method register.

Parameters:
final String name
final T biome

iterator

public > iterator ()

Method iterator.