|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of FileHandle in com.badlogic.gdx |
---|
Methods in com.badlogic.gdx that return FileHandle | |
---|---|
FileHandle |
Files.absolute(java.lang.String path)
Convenience method that returns a Files.FileType.Absolute file handle. |
FileHandle |
Files.classpath(java.lang.String path)
Convenience method that returns a Files.FileType.Classpath file handle. |
FileHandle |
Files.external(java.lang.String path)
Convenience method that returns a Files.FileType.External file handle. |
FileHandle |
Files.getFileHandle(java.lang.String path,
Files.FileType type)
Returns a handle representing a file or directory. |
FileHandle |
Files.internal(java.lang.String path)
Convenience method that returns a Files.FileType.Internal file handle. |
FileHandle |
Files.local(java.lang.String path)
Convenience method that returns a Files.FileType.Local file handle. |
Methods in com.badlogic.gdx with parameters of type FileHandle | |
---|---|
Music |
Audio.newMusic(FileHandle file)
Creates a new Music instance which is used to play back a music stream from a file. |
Sound |
Audio.newSound(FileHandle fileHandle)
Creates a new Sound which is used to play back audio effects such as gun shots or explosions. |
Uses of FileHandle in com.badlogic.gdx.assets.loaders |
---|
Methods in com.badlogic.gdx.assets.loaders that return FileHandle | |
---|---|
FileHandle |
AssetLoader.resolve(java.lang.String fileName)
|
FileHandle |
FileHandleResolver.resolve(java.lang.String fileName)
|
Uses of FileHandle in com.badlogic.gdx.assets.loaders.resolvers |
---|
Methods in com.badlogic.gdx.assets.loaders.resolvers that return FileHandle | |
---|---|
FileHandle |
ExternalFileHandleResolver.resolve(java.lang.String fileName)
|
FileHandle |
InternalFileHandleResolver.resolve(java.lang.String fileName)
|
FileHandle |
ResolutionFileResolver.resolve(java.lang.String fileName)
|
Methods in com.badlogic.gdx.assets.loaders.resolvers with parameters of type FileHandle | |
---|---|
protected java.lang.String |
ResolutionFileResolver.resolve(FileHandle originalHandle,
java.lang.String suffix)
|
Uses of FileHandle in com.badlogic.gdx.files |
---|
Subclasses of FileHandle in com.badlogic.gdx.files | |
---|---|
class |
FileHandleStream
A FileHandle intended to be subclassed for the purpose of implementing FileHandleStream.read() and/or FileHandleStream.write(boolean) . |
Methods in com.badlogic.gdx.files that return FileHandle | |
---|---|
FileHandle |
FileHandle.child(java.lang.String name)
Returns a handle to the child with the specified name. |
FileHandle |
FileHandleStream.child(java.lang.String name)
|
FileHandle[] |
FileHandle.list()
Returns the paths to the children of this directory. |
FileHandle[] |
FileHandleStream.list()
|
FileHandle[] |
FileHandle.list(java.lang.String suffix)
Returns the paths to the children of this directory with the specified suffix. |
FileHandle |
FileHandle.parent()
|
FileHandle |
FileHandleStream.parent()
|
static FileHandle |
FileHandle.tempDirectory(java.lang.String prefix)
|
static FileHandle |
FileHandle.tempFile(java.lang.String prefix)
|
Methods in com.badlogic.gdx.files with parameters of type FileHandle | |
---|---|
void |
FileHandle.copyTo(FileHandle dest)
Copies this file or directory to the specified file or directory. |
void |
FileHandleStream.copyTo(FileHandle dest)
|
void |
FileHandle.moveTo(FileHandle dest)
Moves this file to the specified file, overwriting the file if it already exists. |
void |
FileHandleStream.moveTo(FileHandle dest)
|
Uses of FileHandle in com.badlogic.gdx.graphics |
---|
Methods in com.badlogic.gdx.graphics with parameters of type FileHandle | |
---|---|
static Pixmap |
PixmapIO.readCIM(FileHandle file)
Reads the Pixmap from the given file, assuming the Pixmap was written with the
PixmapIO.writeCIM(FileHandle, Pixmap) method. |
static void |
PixmapIO.writeCIM(FileHandle file,
Pixmap pixmap)
Writes the Pixmap to the given file using a custom compression scheme. |
static void |
PixmapIO.writePNG(FileHandle file,
Pixmap pixmap)
Writes the pixmap as a PNG. |
Constructors in com.badlogic.gdx.graphics with parameters of type FileHandle | |
---|---|
Pixmap(FileHandle file)
Creates a new Pixmap instance from the given file. |
|
Texture(FileHandle file)
|
|
Texture(FileHandle file,
boolean useMipMaps)
|
|
Texture(FileHandle file,
Pixmap.Format format,
boolean useMipMaps)
|
Uses of FileHandle in com.badlogic.gdx.graphics.g2d |
---|
Fields in com.badlogic.gdx.graphics.g2d declared as FileHandle | |
---|---|
FileHandle |
BitmapFont.BitmapFontData.fontFile
|
FileHandle |
TextureAtlas.TextureAtlasData.Page.textureFile
|
Methods in com.badlogic.gdx.graphics.g2d that return FileHandle | |
---|---|
FileHandle |
BitmapFont.BitmapFontData.getFontFile()
|
Methods in com.badlogic.gdx.graphics.g2d with parameters of type FileHandle | |
---|---|
void |
ParticleEffect.load(FileHandle effectFile,
FileHandle imagesDir)
|
void |
ParticleEffect.load(FileHandle effectFile,
TextureAtlas atlas)
|
void |
ParticleEffect.loadEmitterImages(FileHandle imagesDir)
|
void |
ParticleEffect.loadEmitters(FileHandle effectFile)
|
protected Texture |
ParticleEffect.loadTexture(FileHandle file)
|
Constructors in com.badlogic.gdx.graphics.g2d with parameters of type FileHandle | |
---|---|
BitmapFont.BitmapFontData(FileHandle fontFile,
boolean flip)
|
|
BitmapFont(FileHandle fontFile,
boolean flip)
Creates a BitmapFont from a BMFont file. |
|
BitmapFont(FileHandle fontFile,
FileHandle imageFile,
boolean flip)
Creates a BitmapFont from a BMFont file, using the specified image for glyphs. |
|
BitmapFont(FileHandle fontFile,
FileHandle imageFile,
boolean flip,
boolean integer)
Creates a BitmapFont from a BMFont file, using the specified image for glyphs. |
|
BitmapFont(FileHandle fontFile,
TextureRegion region,
boolean flip)
Creates a BitmapFont with the glyphs relative to the specified region. |
|
TextureAtlas.TextureAtlasData.Page(FileHandle handle,
boolean useMipMaps,
Pixmap.Format format,
Texture.TextureFilter minFilter,
Texture.TextureFilter magFilter,
Texture.TextureWrap uWrap,
Texture.TextureWrap vWrap)
|
|
TextureAtlas.TextureAtlasData(FileHandle packFile,
FileHandle imagesDir,
boolean flip)
|
|
TextureAtlas(FileHandle packFile)
Loads the specified pack file, using the parent directory of the pack file to find the page images. |
|
TextureAtlas(FileHandle packFile,
boolean flip)
|
|
TextureAtlas(FileHandle packFile,
FileHandle imagesDir)
|
|
TextureAtlas(FileHandle packFile,
FileHandle imagesDir,
boolean flip)
|
Uses of FileHandle in com.badlogic.gdx.graphics.g2d.tiled |
---|
Fields in com.badlogic.gdx.graphics.g2d.tiled declared as FileHandle | |
---|---|
FileHandle |
TiledMap.tmxFile
|
Methods in com.badlogic.gdx.graphics.g2d.tiled with parameters of type FileHandle | |
---|---|
static TiledMap |
TiledLoader.createMap(FileHandle tmxFile)
Loads a Tiled Map from a tmx file |
Constructors in com.badlogic.gdx.graphics.g2d.tiled with parameters of type FileHandle | |
---|---|
SimpleTileAtlas(TiledMap map,
FileHandle inputDir)
Creates a TileAtlas for use with TileMapRenderer . |
|
TileAtlas(TiledMap map,
FileHandle inputDir)
Creates a TileAtlas for use with TileMapRenderer . |
Uses of FileHandle in com.badlogic.gdx.graphics.glutils |
---|
Methods in com.badlogic.gdx.graphics.glutils that return FileHandle | |
---|---|
FileHandle |
FileTextureData.getFileHandle()
|
Methods in com.badlogic.gdx.graphics.glutils with parameters of type FileHandle | |
---|---|
void |
ETC1.ETC1Data.write(FileHandle file)
Writes the ETC1Data with a PKM header to the given file. |
Constructors in com.badlogic.gdx.graphics.glutils with parameters of type FileHandle | |
---|---|
ETC1.ETC1Data(FileHandle pkmFile)
|
|
ETC1TextureData(FileHandle file)
|
|
ETC1TextureData(FileHandle file,
boolean useMipMaps)
|
|
FileTextureData(FileHandle file,
Pixmap preloadedPixmap,
Pixmap.Format format,
boolean useMipMaps)
|
|
ShaderProgram(FileHandle vertexShader,
FileHandle fragmentShader)
|
Uses of FileHandle in com.badlogic.gdx.scenes.scene2d.ui |
---|
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type FileHandle | |
---|---|
protected Json |
Skin.getJsonLoader(FileHandle skinFile)
|
void |
Skin.load(FileHandle skinFile)
|
void |
Skin.save(FileHandle skinFile)
|
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type FileHandle | |
---|---|
Skin(FileHandle skinFile)
|
|
Skin(FileHandle skinFile,
FileHandle textureFile)
|
|
Skin(FileHandle skinFile,
Texture texture)
|
Uses of FileHandle in com.badlogic.gdx.scenes.scene2d.ui.tablelayout |
---|
Methods in com.badlogic.gdx.scenes.scene2d.ui.tablelayout with parameters of type FileHandle | |
---|---|
void |
Table.parse(FileHandle tableDescriptionFile)
|
Uses of FileHandle in com.badlogic.gdx.utils |
---|
Methods in com.badlogic.gdx.utils with parameters of type FileHandle | ||
---|---|---|
|
Json.fromJson(java.lang.Class<T> type,
java.lang.Class elementType,
FileHandle file)
|
|
|
Json.fromJson(java.lang.Class<T> type,
FileHandle file)
|
|
java.lang.Object |
JsonReader.parse(FileHandle file)
|
|
XmlReader.Element |
XmlReader.parse(FileHandle file)
|
|
void |
Json.toJson(java.lang.Object object,
java.lang.Class knownType,
java.lang.Class elementType,
FileHandle file)
|
|
void |
Json.toJson(java.lang.Object object,
java.lang.Class knownType,
FileHandle file)
|
|
void |
Json.toJson(java.lang.Object object,
FileHandle file)
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |