|
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()
|
FileHandle |
FileHandle.sibling(java.lang.String name)
Returns a handle to the sibling with the specified name. |
FileHandle |
FileHandleStream.sibling(java.lang.String name)
|
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. |
|
PolygonRegion(TextureRegion region,
FileHandle file)
Creates a PolygonRegion by reading in the vertices and texture coordinates from the external file. |
|
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.g3d.loaders |
---|
Methods in com.badlogic.gdx.graphics.g3d.loaders with parameters of type FileHandle | |
---|---|
static Model |
ModelLoaderRegistry.load(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
KeyframedModel |
KeyframedModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
Model |
ModelLoader.load(FileHandle file,
ModelLoaderHints hints)
|
static Model |
ModelLoaderRegistry.load(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
SkeletonModel |
SkeletonModelLoader.load(FileHandle file,
ModelLoaderHints hints)
|
StillModel |
StillModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
static KeyframedModel |
ModelLoaderRegistry.loadKeyframedModel(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
static KeyframedModel |
ModelLoaderRegistry.loadKeyframedModel(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
static SkeletonModel |
ModelLoaderRegistry.loadSkeletonModel(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
static SkeletonModel |
ModelLoaderRegistry.loadSkeletonModel(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
static StillModel |
ModelLoaderRegistry.loadStillModel(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
static StillModel |
ModelLoaderRegistry.loadStillModel(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry. |
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.loaders.g3d |
---|
Methods in com.badlogic.gdx.graphics.g3d.loaders.g3d with parameters of type FileHandle | |
---|---|
StillModel |
G3dLoader.G3dStillModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
KeyframedModel |
G3dLoader.G3dKeyframedModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
SkeletonModel |
G3dLoader.G3dSkeletonModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
StillModel |
G3dtLoader.G3dtStillModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
KeyframedModel |
G3dtLoader.G3dtKeyframedModelLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
static KeyframedModel |
G3dLoader.loadKeyframedModel(FileHandle handle)
|
static KeyframedModel |
G3dtLoader.loadKeyframedModel(FileHandle handle,
boolean flipV)
|
static SkeletonModel |
G3dLoader.loadSkeletonModel(FileHandle handle)
|
static StillModel |
G3dLoader.loadStillModel(FileHandle handle)
|
static StillModel |
G3dtLoader.loadStillModel(FileHandle handle,
boolean flipV)
|
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.loaders.g3d.chunks |
---|
Methods in com.badlogic.gdx.graphics.g3d.loaders.g3d.chunks with parameters of type FileHandle | |
---|---|
static void |
G3dExporter.export(KeyframedModel model,
FileHandle file)
|
static void |
G3dExporter.export(SkeletonModel model,
FileHandle file)
|
static void |
G3dExporter.export(StillModel model,
FileHandle file)
|
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.loaders.md2 |
---|
Methods in com.badlogic.gdx.graphics.g3d.loaders.md2 with parameters of type FileHandle | |
---|---|
KeyframedModel |
MD2Loader.load(FileHandle fileHandle,
float frameDuration)
|
KeyframedModel |
MD2Loader.load(FileHandle file,
ModelLoaderHints hints)
|
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.loaders.wavefront |
---|
Methods in com.badlogic.gdx.graphics.g3d.loaders.wavefront with parameters of type FileHandle | |
---|---|
StillModel |
ObjLoader.load(FileHandle handle,
ModelLoaderHints hints)
|
StillModel |
ObjLoader.loadObj(FileHandle file)
Loads a Wavefront OBJ file from a given file handle. |
StillModel |
ObjLoader.loadObj(FileHandle file,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle. |
StillModel |
ObjLoader.loadObj(FileHandle file,
FileHandle textureDir,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle. |
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)
Adds all resources in the specified skin JSON file. |
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type FileHandle | |
---|---|
Skin(FileHandle skinFile)
Creates a skin containing the resources in the specified skin JSON file. |
|
Skin(FileHandle skinFile,
TextureAtlas atlas)
Creates a skin containing the resources in the specified skin JSON file and the texture regions from the specified atlas. |
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 |