APIdia Launch Partner
Top Fields Constructors Methods
com.badlogic.gdx.backends.lwjgl

public final Class LwjglFileHandle

extends FileHandle
Class Inheritance
Imports
java.io.File, com.badlogic.gdx.Files.FileType, com.badlogic.gdx.files.FileHandle, com.badlogic.gdx.utils.GdxRuntimeException

Authors
mzechner, Nathan Sweet

Field Summary

Inherited from com.badlogic.gdx.files.FileHandle:
filetype

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public FileHandle
child(String name)

Overrides com.badlogic.gdx.files.FileHandle.child.

Returns a handle to the child with the specified name.

public File
file()

Overrides com.badlogic.gdx.files.FileHandle.file.

Returns a java.io.File that represents this file handle.

public FileHandle
public FileHandle
sibling(String name)

Overrides com.badlogic.gdx.files.FileHandle.sibling.

Returns a handle to the sibling with the specified name.

Inherited from com.badlogic.gdx.files.FileHandle:
copyTodeletedeleteDirectoryemptyDirectoryemptyDirectoryequalsexistsextensionhashCodeisDirectorylastModifiedlengthlistlistlistlistmapmapmkdirsmoveTonamenameWithoutExtensionpathpathWithoutExtensionreadreadreadBytesreadBytesreaderreaderreaderreaderreadStringreadStringtempDirectorytempFiletoStringtypewritewritewritewriteByteswriteByteswriterwriterwriteStringwriteString

Constructor Detail

LwjglFileHandleback to summary
public LwjglFileHandle(String fileName, Files.FileType type)
LwjglFileHandleback to summary
public LwjglFileHandle(File file, Files.FileType type)

Method Detail

childback to summary
public FileHandle child(String name)

Overrides com.badlogic.gdx.files.FileHandle.child.

Doc from com.badlogic.gdx.files.FileHandle.child.

Returns a handle to the child with the specified name.

fileback to summary
public File file()

Overrides com.badlogic.gdx.files.FileHandle.file.

Doc from com.badlogic.gdx.files.FileHandle.file.

Returns a java.io.File that represents this file handle. Note the returned file will only be usable for FileType#Absolute and FileType#External file handles.

parentback to summary
public FileHandle parent()

Overrides com.badlogic.gdx.files.FileHandle.parent.

siblingback to summary
public FileHandle sibling(String name)

Overrides com.badlogic.gdx.files.FileHandle.sibling.

Doc from com.badlogic.gdx.files.FileHandle.sibling.

Returns a handle to the sibling with the specified name.