Uses of Class
com.badlogic.gdx.files.FileHandle
Packages that use FileHandle
Package
Description
Platform independent wrappers for file handles and file streaming.
-
Uses of FileHandle in com.badlogic.gdx
Methods in com.badlogic.gdx that return FileHandleModifier and TypeMethodDescriptionConvenience method that returns aFiles.FileType.Absolute
file handle.Convenience method that returns aFiles.FileType.Classpath
file handle.Convenience method that returns aFiles.FileType.External
file handle.Files.getFileHandle
(String path, Files.FileType type) Returns a handle representing a file or directory.Convenience method that returns aFiles.FileType.Internal
file handle.Convenience method that returns aFiles.FileType.Local
file handle.Methods in com.badlogic.gdx with parameters of type FileHandleModifier and TypeMethodDescriptionAudio.newMusic
(FileHandle file) Creates a newMusic
instance which is used to play back a music stream from a file.Audio.newSound
(FileHandle fileHandle) Creates a newSound
which is used to play back audio effects such as gun shots or explosions. -
Uses of FileHandle in com.badlogic.gdx.assets
Fields in com.badlogic.gdx.assets declared as FileHandleConstructors in com.badlogic.gdx.assets with parameters of type FileHandleModifierConstructorDescriptionAssetDescriptor
(FileHandle file, Class<T> assetType) Creates an AssetDescriptor with an already resolved name.AssetDescriptor
(FileHandle file, Class<T> assetType, AssetLoaderParameters<T> params) Creates an AssetDescriptor with an already resolved name. -
Uses of FileHandle in com.badlogic.gdx.assets.loaders
Fields in com.badlogic.gdx.assets.loaders declared as FileHandleModifier and TypeFieldDescriptionParticleEffectLoader.ParticleEffectParameter.imagesDir
Image directory.Methods in com.badlogic.gdx.assets.loaders that return FileHandleModifier and TypeMethodDescriptionMethods in com.badlogic.gdx.assets.loaders with parameters of type FileHandleModifier and TypeMethodDescriptionabstract Array<AssetDescriptor>
AssetLoader.getDependencies
(String fileName, FileHandle file, P parameter) Returns the assets this asset requires to be loaded first.BitmapFontLoader.getDependencies
(String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter) CubemapLoader.getDependencies
(String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter) I18NBundleLoader.getDependencies
(String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter) ModelLoader.getDependencies
(String fileName, FileHandle file, P parameters) MusicLoader.getDependencies
(String fileName, FileHandle file, MusicLoader.MusicParameter parameter) ParticleEffectLoader.getDependencies
(String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectParameter param) PixmapLoader.getDependencies
(String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter) ShaderProgramLoader.getDependencies
(String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter) SkinLoader.getDependencies
(String fileName, FileHandle file, SkinLoader.SkinParameter parameter) SoundLoader.getDependencies
(String fileName, FileHandle file, SoundLoader.SoundParameter parameter) TextureAtlasLoader.getDependencies
(String fileName, FileHandle atlasFile, TextureAtlasLoader.TextureAtlasParameter parameter) TextureLoader.getDependencies
(String fileName, FileHandle file, TextureLoader.TextureParameter parameter) ParticleEffectLoader.load
(AssetManager am, String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectParameter param) abstract T
SynchronousAssetLoader.load
(AssetManager assetManager, String fileName, FileHandle file, P parameter) TextureAtlasLoader.load
(AssetManager assetManager, String fileName, FileHandle file, TextureAtlasLoader.TextureAtlasParameter parameter) abstract void
AsynchronousAssetLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, P parameter) Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.void
BitmapFontLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter) void
CubemapLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter) void
I18NBundleLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter) void
ModelLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, P parameters) void
MusicLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, MusicLoader.MusicParameter parameter) void
PixmapLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter) void
ShaderProgramLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter) void
SkinLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, SkinLoader.SkinParameter parameter) void
SoundLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, SoundLoader.SoundParameter parameter) void
TextureLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, TextureLoader.TextureParameter parameter) ModelLoader.loadModel
(FileHandle fileHandle) Directly load the model on the calling thread.ModelLoader.loadModel
(FileHandle fileHandle, TextureProvider textureProvider) Directly load the model on the calling thread.ModelLoader.loadModel
(FileHandle fileHandle, TextureProvider textureProvider, P parameters) Directly load the model on the calling thread.ModelLoader.loadModel
(FileHandle fileHandle, P parameters) Directly load the model on the calling thread.ModelLoader.loadModelData
(FileHandle fileHandle) Directly load the raw model data on the calling thread.abstract ModelData
ModelLoader.loadModelData
(FileHandle fileHandle, P parameters) Directly load the raw model data on the calling thread.abstract T
AsynchronousAssetLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, P parameter) Loads the OpenGL part of the asset.BitmapFontLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter) CubemapLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter) I18NBundleLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter) ModelLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, P parameters) MusicLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, MusicLoader.MusicParameter parameter) PixmapLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter) ShaderProgramLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter) SkinLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, SkinLoader.SkinParameter parameter) SoundLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, SoundLoader.SoundParameter parameter) TextureLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, TextureLoader.TextureParameter parameter) void
AsynchronousAssetLoader.unloadAsync
(AssetManager manager, String fileName, FileHandle file, P parameter) Called if this task is unloaded beforeloadSync
is called. -
Uses of FileHandle in com.badlogic.gdx.assets.loaders.resolvers
Methods in com.badlogic.gdx.assets.loaders.resolvers that return FileHandleModifier and TypeMethodDescriptionMethods in com.badlogic.gdx.assets.loaders.resolvers with parameters of type FileHandleModifier and TypeMethodDescriptionprotected String
ResolutionFileResolver.resolve
(FileHandle originalHandle, String suffix) -
Uses of FileHandle in com.badlogic.gdx.files
Subclasses of FileHandle in com.badlogic.gdx.filesModifier and TypeClassDescriptionclass
A FileHandle intended to be subclassed for the purpose of implementingFileHandleStream.read()
and/orFileHandleStream.write(boolean)
.Methods in com.badlogic.gdx.files that return FileHandleModifier and TypeMethodDescriptionReturns a handle to the child with the specified name.FileHandle.list()
Returns the paths to the children of this directory.FileHandle.list
(FileFilter filter) Returns the paths to the children of this directory that satisfy the specified filter.FileHandle.list
(FilenameFilter filter) Returns the paths to the children of this directory that satisfy the specified filter.Returns the paths to the children of this directory with the specified suffix.FileHandleStream.list()
FileHandle.parent()
FileHandleStream.parent()
Returns a handle to the sibling with the specified name.static FileHandle
FileHandle.tempDirectory
(String prefix) static FileHandle
Methods in com.badlogic.gdx.files with parameters of type FileHandleModifier and TypeMethodDescriptionvoid
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 FileHandleModifier and TypeMethodDescriptionstatic TextureData
TextureData.Factory.loadFromFile
(FileHandle file, boolean useMipMaps) static TextureData
TextureData.Factory.loadFromFile
(FileHandle file, Pixmap.Format format, boolean useMipMaps) static TextureArrayData
TextureArrayData.Factory.loadFromFiles
(Pixmap.Format format, boolean useMipMaps, FileHandle... files) static Pixmap
PixmapIO.readCIM
(FileHandle file) Reads thePixmap
from the given file, assuming the Pixmap was written with thePixmapIO.writeCIM(FileHandle, Pixmap)
method.void
PixmapIO.PNG.write
(FileHandle file, Pixmap pixmap) static void
PixmapIO.writeCIM
(FileHandle file, Pixmap pixmap) Writes thePixmap
to the given file using a custom compression scheme.static void
PixmapIO.writePNG
(FileHandle file, Pixmap pixmap) Writes the pixmap as a PNG with compression.static void
PixmapIO.writePNG
(FileHandle file, Pixmap pixmap, int compression, boolean flipY) Writes the pixmap as a PNG.Constructors in com.badlogic.gdx.graphics with parameters of type FileHandleModifierConstructorDescriptionCubemap
(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ) Construct a Cubemap with the specified texture files for the sides, does not generate mipmaps.Cubemap
(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ, boolean useMipMaps) Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps.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) TextureArray
(boolean useMipMaps, FileHandle... files) TextureArray
(boolean useMipMaps, Pixmap.Format format, FileHandle... files) TextureArray
(FileHandle... files) -
Uses of FileHandle in com.badlogic.gdx.graphics.g2d
Fields in com.badlogic.gdx.graphics.g2d declared as FileHandleModifier and TypeFieldDescriptionBitmapFont.BitmapFontData.fontFile
TextureAtlas.TextureAtlasData.Page.textureFile
May be null if this page isn't associated with a file.Methods in com.badlogic.gdx.graphics.g2d that return FileHandleMethods in com.badlogic.gdx.graphics.g2d with parameters of type FileHandleModifier and TypeMethodDescriptionPolygonRegionLoader.getDependencies
(String fileName, FileHandle file, PolygonRegionLoader.PolygonRegionParameters params) If the PSH file contains a line starting withparams.texturePrefix
, anAssetDescriptor
for the file referenced on that line will be added to the returned Array.void
BitmapFont.BitmapFontData.load
(FileHandle fontFile, boolean flip) void
ParticleEffect.load
(FileHandle effectFile, FileHandle imagesDir) void
ParticleEffect.load
(FileHandle effectFile, TextureAtlas atlas) void
ParticleEffect.load
(FileHandle effectFile, TextureAtlas atlas, String atlasPrefix) PolygonRegionLoader.load
(AssetManager manager, String fileName, FileHandle file, PolygonRegionLoader.PolygonRegionParameters parameter) PolygonRegionLoader.load
(TextureRegion textureRegion, FileHandle file) Loads a PolygonRegion from a PSH (Polygon SHape) file.void
TextureAtlas.TextureAtlasData.load
(FileHandle packFile, FileHandle imagesDir, boolean flip) void
ParticleEffect.loadEmitterImages
(FileHandle imagesDir) void
ParticleEffect.loadEmitters
(FileHandle effectFile) protected Texture
ParticleEffect.loadTexture
(FileHandle file) void
PixmapPackerIO.save
(FileHandle file, PixmapPacker packer) Saves the provided PixmapPacker to the provided file.void
PixmapPackerIO.save
(FileHandle file, PixmapPacker packer, PixmapPackerIO.SaveParameters parameters) Saves the provided PixmapPacker to the provided file.Constructors in com.badlogic.gdx.graphics.g2d with parameters of type FileHandleModifierConstructorDescriptionBitmapFont
(FileHandle fontFile) Creates a BitmapFont from a BMFont file.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) Creates a BitmapFont with the glyphs relative to the specified region.BitmapFont
(FileHandle fontFile, TextureRegion region, boolean flip) Creates a BitmapFont with the glyphs relative to the specified region.BitmapFontData
(FileHandle fontFile, boolean flip) DistanceFieldFont
(FileHandle fontFile) DistanceFieldFont
(FileHandle fontFile, boolean flip) DistanceFieldFont
(FileHandle fontFile, FileHandle imageFile, boolean flip) DistanceFieldFont
(FileHandle fontFile, FileHandle imageFile, boolean flip, boolean integer) DistanceFieldFont
(FileHandle fontFile, TextureRegion region) DistanceFieldFont
(FileHandle fontFile, TextureRegion region, 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) TextureAtlasData
(FileHandle packFile, FileHandle imagesDir, boolean flip) -
Uses of FileHandle in com.badlogic.gdx.graphics.g3d
Constructors in com.badlogic.gdx.graphics.g3d with parameters of type FileHandleModifierConstructorDescriptionModelBatch
(FileHandle vertexShader, FileHandle fragmentShader) Construct a ModelBatch with the default implementation and the specified ubershader. -
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.loader
Methods in com.badlogic.gdx.graphics.g3d.loader with parameters of type FileHandleModifier and TypeMethodDescriptionObjLoader.loadModel
(FileHandle fileHandle, boolean flipV) Directly load the model on the calling thread.G3dModelLoader.loadModelData
(FileHandle fileHandle, ModelLoader.ModelParameters parameters) protected ModelData
ObjLoader.loadModelData
(FileHandle file, boolean flipV) ObjLoader.loadModelData
(FileHandle file, ObjLoader.ObjLoaderParameters parameters) G3dModelLoader.parseModel
(FileHandle handle) -
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.particles
Methods in com.badlogic.gdx.graphics.g3d.particles with parameters of type FileHandleModifier and TypeMethodDescriptionParticleEffectLoader.getDependencies
(String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter) void
ParticleEffectLoader.loadAsync
(AssetManager manager, String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter) ParticleEffectLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter) Constructors in com.badlogic.gdx.graphics.g3d.particles with parameters of type FileHandleModifierConstructorDescriptionParticleEffectSaveParameter
(FileHandle file, AssetManager manager, Array<ParticleBatch<?>> batches) ParticleEffectSaveParameter
(FileHandle file, AssetManager manager, Array<ParticleBatch<?>> batches, JsonWriter.OutputType jsonOutputType, boolean prettyPrint) -
Uses of FileHandle in com.badlogic.gdx.graphics.g3d.utils
Constructors in com.badlogic.gdx.graphics.g3d.utils with parameters of type FileHandleModifierConstructorDescriptionDefaultShaderProvider
(FileHandle vertexShader, FileHandle fragmentShader) DepthShaderProvider
(FileHandle vertexShader, FileHandle fragmentShader) -
Uses of FileHandle in com.badlogic.gdx.graphics.glutils
Methods in com.badlogic.gdx.graphics.glutils that return FileHandleMethods in com.badlogic.gdx.graphics.glutils with parameters of type FileHandleModifier and TypeMethodDescriptionvoid
FacedCubemapData.load
(Cubemap.CubemapSide side, FileHandle file) Loads the texture specified using theFileHandle
and sets it to specified side, overwriting any previous data set to that side.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 FileHandleModifierConstructorDescriptionETC1Data
(FileHandle pkmFile) ETC1TextureData
(FileHandle file) ETC1TextureData
(FileHandle file, boolean useMipMaps) FacedCubemapData
(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ) Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps.FacedCubemapData
(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ, boolean useMipMaps) Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps.FileTextureArrayData
(Pixmap.Format format, boolean useMipMaps, FileHandle[] files) FileTextureData
(FileHandle file, Pixmap preloadedPixmap, Pixmap.Format format, boolean useMipMaps) KTXTextureData
(FileHandle file, boolean genMipMaps) ShaderProgram
(FileHandle vertexShader, FileHandle fragmentShader) -
Uses of FileHandle in com.badlogic.gdx.maps.tiled
Methods in com.badlogic.gdx.maps.tiled that return FileHandleModifier and TypeMethodDescriptionprotected FileHandle
AtlasTmjMapLoader.getAtlasFileHandle
(FileHandle tmjFile) protected FileHandle
AtlasTmxMapLoader.getAtlasFileHandle
(FileHandle tmxFile) protected static FileHandle
BaseTiledMapLoader.getRelativeFileHandle
(FileHandle file, String path) Methods in com.badlogic.gdx.maps.tiled that return types with arguments of type FileHandleModifier and TypeMethodDescriptionprotected Array<FileHandle>
TmjMapLoader.getDependencyFileHandles
(FileHandle tmjFile) protected Array<FileHandle>
TmxMapLoader.getDependencyFileHandles
(FileHandle tmxFile) protected Array<FileHandle>
TmjMapLoader.getTileSetDependencyFileHandle
(FileHandle tmjFile, JsonValue tileSet) protected Array<FileHandle>
TmjMapLoader.getTileSetDependencyFileHandle
(Array<FileHandle> fileHandles, FileHandle tmjFile, JsonValue tileSet) protected Array<FileHandle>
TmxMapLoader.getTileSetDependencyFileHandle
(FileHandle tmxFile, XmlReader.Element tileset) protected Array<FileHandle>
TmxMapLoader.getTileSetDependencyFileHandle
(Array<FileHandle> fileHandles, FileHandle tmxFile, XmlReader.Element tileset) Methods in com.badlogic.gdx.maps.tiled with parameters of type FileHandleModifier and TypeMethodDescriptionprotected void
AtlasTmjMapLoader.addStaticTiles
(FileHandle tmjFile, ImageResolver imageResolver, TiledMapTileSet tileSet, JsonValue element, JsonValue tiles, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, String source, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) protected void
AtlasTmxMapLoader.addStaticTiles
(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileSet, XmlReader.Element element, Array<XmlReader.Element> tileElements, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, String source, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) protected abstract void
BaseTmjMapLoader.addStaticTiles
(FileHandle tmjFile, ImageResolver imageResolver, TiledMapTileSet tileSet, JsonValue element, JsonValue tiles, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, String source, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) protected abstract void
BaseTmxMapLoader.addStaticTiles
(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileset, XmlReader.Element element, Array<XmlReader.Element> tileElements, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, String source, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) protected void
TmjMapLoader.addStaticTiles
(FileHandle tmjFile, ImageResolver imageResolver, TiledMapTileSet tileSet, JsonValue element, JsonValue tiles, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, String source, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) protected void
TmxMapLoader.addStaticTiles
(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileSet, XmlReader.Element element, Array<XmlReader.Element> tileElements, String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, String source, int offsetX, int offsetY, String imageSource, int imageWidth, int imageHeight, FileHandle image) protected FileHandle
AtlasTmjMapLoader.getAtlasFileHandle
(FileHandle tmjFile) protected FileHandle
AtlasTmxMapLoader.getAtlasFileHandle
(FileHandle tmxFile) BaseTmjMapLoader.getDependencies
(String fileName, FileHandle tmjFile, P parameter) BaseTmxMapLoader.getDependencies
(String fileName, FileHandle tmxFile, P parameter) TideMapLoader.getDependencies
(String fileName, FileHandle tmxFile, TideMapLoader.Parameters parameter) protected Array<AssetDescriptor>
AtlasTmjMapLoader.getDependencyAssetDescriptors
(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter) protected Array<AssetDescriptor>
AtlasTmxMapLoader.getDependencyAssetDescriptors
(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter) protected abstract Array<AssetDescriptor>
BaseTiledMapLoader.getDependencyAssetDescriptors
(FileHandle mapFile, TextureLoader.TextureParameter textureParameter) Meant to be called within getDependencies() of a child classprotected Array<AssetDescriptor>
TmjMapLoader.getDependencyAssetDescriptors
(FileHandle tmjFile, TextureLoader.TextureParameter textureParameter) protected Array<AssetDescriptor>
TmxMapLoader.getDependencyAssetDescriptors
(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter) protected Array<FileHandle>
TmjMapLoader.getDependencyFileHandles
(FileHandle tmjFile) protected Array<FileHandle>
TmxMapLoader.getDependencyFileHandles
(FileHandle tmxFile) protected static FileHandle
BaseTiledMapLoader.getRelativeFileHandle
(FileHandle file, String path) protected Array<FileHandle>
TmjMapLoader.getTileSetDependencyFileHandle
(FileHandle tmjFile, JsonValue tileSet) protected Array<FileHandle>
TmjMapLoader.getTileSetDependencyFileHandle
(Array<FileHandle> fileHandles, FileHandle tmjFile, JsonValue tileSet) protected Array<FileHandle>
TmxMapLoader.getTileSetDependencyFileHandle
(FileHandle tmxFile, XmlReader.Element tileset) protected Array<FileHandle>
TmxMapLoader.getTileSetDependencyFileHandle
(Array<FileHandle> fileHandles, FileHandle tmxFile, XmlReader.Element tileset) TideMapLoader.load
(AssetManager assetManager, String fileName, FileHandle tideFile, TideMapLoader.Parameters parameter) void
AtlasTmjMapLoader.loadAsync
(AssetManager manager, String fileName, FileHandle tmjFile, AtlasTmjMapLoader.AtlasTiledMapLoaderParameters parameter) void
AtlasTmxMapLoader.loadAsync
(AssetManager manager, String fileName, FileHandle tmxFile, AtlasTmxMapLoader.AtlasTiledMapLoaderParameters parameter) void
TmjMapLoader.loadAsync
(AssetManager manager, String fileName, FileHandle tmjFile, BaseTiledMapLoader.Parameters parameter) void
TmxMapLoader.loadAsync
(AssetManager manager, String fileName, FileHandle tmxFile, TmxMapLoader.Parameters parameter) protected void
BaseTmjMapLoader.loadImageLayer
(TiledMap map, MapLayers parentLayers, JsonValue element, FileHandle tmjFile, ImageResolver imageResolver) protected void
BaseTmxMapLoader.loadImageLayer
(TiledMap map, MapLayers parentLayers, XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver) protected void
BaseTmjMapLoader.loadLayer
(TiledMap map, MapLayers parentLayers, JsonValue element, FileHandle tmjFile, ImageResolver imageResolver) protected void
BaseTmxMapLoader.loadLayer
(TiledMap map, MapLayers parentLayers, XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver) protected void
BaseTmjMapLoader.loadLayerGroup
(TiledMap map, MapLayers parentLayers, JsonValue element, FileHandle tmjFile, ImageResolver imageResolver) protected void
BaseTmxMapLoader.loadLayerGroup
(TiledMap map, MapLayers parentLayers, XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver) AtlasTmjMapLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, AtlasTmjMapLoader.AtlasTiledMapLoaderParameters parameter) AtlasTmxMapLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, AtlasTmxMapLoader.AtlasTiledMapLoaderParameters parameter) TmjMapLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, BaseTiledMapLoader.Parameters parameter) TmxMapLoader.loadSync
(AssetManager manager, String fileName, FileHandle file, TmxMapLoader.Parameters parameter) protected abstract TiledMap
BaseTiledMapLoader.loadTiledMap
(FileHandle mapFile, P parameter, ImageResolver imageResolver) Loads the map data, given the root elementprotected TiledMap
BaseTmjMapLoader.loadTiledMap
(FileHandle tmjFile, P parameter, ImageResolver imageResolver) Loads the map data, given the JSON root elementprotected TiledMap
BaseTmxMapLoader.loadTiledMap
(FileHandle tmxFile, P parameter, ImageResolver imageResolver) Loads the map data, given the XML root elementprotected void
BaseTmjMapLoader.loadTileSet
(JsonValue element, FileHandle tmjFile, ImageResolver imageResolver) protected void
BaseTmxMapLoader.loadTileSet
(XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver) Method parameters in com.badlogic.gdx.maps.tiled with type arguments of type FileHandleModifier and TypeMethodDescriptionprotected Array<FileHandle>
TmjMapLoader.getTileSetDependencyFileHandle
(Array<FileHandle> fileHandles, FileHandle tmjFile, JsonValue tileSet) protected Array<FileHandle>
TmxMapLoader.getTileSetDependencyFileHandle
(Array<FileHandle> fileHandles, FileHandle tmxFile, XmlReader.Element tileset) -
Uses of FileHandle in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type FileHandleModifier and TypeMethodDescriptionprotected 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 FileHandleModifierConstructorDescriptionParticleEffectActor
(FileHandle particleFile, FileHandle imagesDir) ParticleEffectActor
(FileHandle particleFile, TextureAtlas atlas) 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 FileHandleModifier and TypeMethodDescriptionstatic I18NBundle
I18NBundle.createBundle
(FileHandle baseFileHandle) Creates a new bundle using the specifiedbaseFileHandle
, the default locale and the default encoding "UTF-8".static I18NBundle
I18NBundle.createBundle
(FileHandle baseFileHandle, String encoding) Creates a new bundle using the specifiedbaseFileHandle
andencoding
; the default locale is used.static I18NBundle
I18NBundle.createBundle
(FileHandle baseFileHandle, Locale locale) Creates a new bundle using the specifiedbaseFileHandle
andlocale
; the default encoding "UTF-8" is used.static I18NBundle
I18NBundle.createBundle
(FileHandle baseFileHandle, Locale locale, String encoding) Creates a new bundle using the specifiedbaseFileHandle
,locale
andencoding
.<T> T
Json.fromJson
(Class<T> type, FileHandle file) <T> T
Json.fromJson
(Class<T> type, Class elementType, FileHandle file) BaseJsonReader.parse
(FileHandle file) JsonReader.parse
(FileHandle file) void
JsonSkimmer.parse
(FileHandle file) UBJsonReader.parse
(FileHandle file) XmlReader.parse
(FileHandle file) void
Json.toJson
(Object object, FileHandle file) void
Json.toJson
(Object object, Class knownType, FileHandle file) void
Json.toJson
(Object object, Class knownType, Class elementType, FileHandle file)