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

public final Class HeadlessFileHandle

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

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

HeadlessFileHandleback to summary
public HeadlessFileHandle(String fileName, Files.FileType type)
HeadlessFileHandleback to summary
public HeadlessFileHandle(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.