Uses of Class
com.badlogic.gdx.files.FileHandle
-
Packages that use FileHandle Package Description com.badlogic.gdx com.badlogic.gdx.assets com.badlogic.gdx.assets.loaders com.badlogic.gdx.assets.loaders.resolvers com.badlogic.gdx.files Platform independent wrappers for file handles and file streaming.com.badlogic.gdx.graphics com.badlogic.gdx.graphics.g2d com.badlogic.gdx.graphics.g3d com.badlogic.gdx.graphics.g3d.loader com.badlogic.gdx.graphics.g3d.particles com.badlogic.gdx.graphics.g3d.utils com.badlogic.gdx.graphics.glutils com.badlogic.gdx.maps.tiled com.badlogic.gdx.scenes.scene2d.ui com.badlogic.gdx.utils -
-
Uses of FileHandle in com.badlogic.gdx
Methods in com.badlogic.gdx that return FileHandle Modifier and Type Method Description FileHandleFiles. absolute(java.lang.String path)Convenience method that returns aFiles.FileType.Absolutefile handle.FileHandleFiles. classpath(java.lang.String path)Convenience method that returns aFiles.FileType.Classpathfile handle.FileHandleFiles. external(java.lang.String path)Convenience method that returns aFiles.FileType.Externalfile handle.FileHandleFiles. getFileHandle(java.lang.String path, Files.FileType type)Returns a handle representing a file or directory.FileHandleFiles. internal(java.lang.String path)Convenience method that returns aFiles.FileType.Internalfile handle.FileHandleFiles. local(java.lang.String path)Convenience method that returns aFiles.FileType.Localfile handle.Methods in com.badlogic.gdx with parameters of type FileHandle Modifier and Type Method Description MusicAudio. newMusic(FileHandle file)Creates a newMusicinstance which is used to play back a music stream from a file.SoundAudio. newSound(FileHandle fileHandle)Creates a newSoundwhich 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 FileHandle Modifier and Type Field Description FileHandleAssetDescriptor. fileThe resolved file.Constructors in com.badlogic.gdx.assets with parameters of type FileHandle Constructor Description AssetDescriptor(FileHandle file, java.lang.Class<T> assetType)Creates an AssetDescriptor with an already resolved name.AssetDescriptor(FileHandle file, java.lang.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 FileHandle Modifier and Type Field Description FileHandleParticleEffectLoader.ParticleEffectParameter. imagesDirImage directory.Methods in com.badlogic.gdx.assets.loaders that return FileHandle Modifier and Type Method Description FileHandleAssetLoader. resolve(java.lang.String fileName)FileHandleFileHandleResolver. resolve(java.lang.String fileName)Methods in com.badlogic.gdx.assets.loaders with parameters of type FileHandle Modifier and Type Method Description abstract Array<AssetDescriptor>AssetLoader. getDependencies(java.lang.String fileName, FileHandle file, P parameter)Returns the assets this asset requires to be loaded first.Array<AssetDescriptor>BitmapFontLoader. getDependencies(java.lang.String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter)Array<AssetDescriptor>CubemapLoader. getDependencies(java.lang.String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter)Array<AssetDescriptor>I18NBundleLoader. getDependencies(java.lang.String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter)Array<AssetDescriptor>ModelLoader. getDependencies(java.lang.String fileName, FileHandle file, P parameters)Array<AssetDescriptor>MusicLoader. getDependencies(java.lang.String fileName, FileHandle file, MusicLoader.MusicParameter parameter)Array<AssetDescriptor>ParticleEffectLoader. getDependencies(java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectParameter param)Array<AssetDescriptor>PixmapLoader. getDependencies(java.lang.String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter)Array<AssetDescriptor>ShaderProgramLoader. getDependencies(java.lang.String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter)Array<AssetDescriptor>SkinLoader. getDependencies(java.lang.String fileName, FileHandle file, SkinLoader.SkinParameter parameter)Array<AssetDescriptor>SoundLoader. getDependencies(java.lang.String fileName, FileHandle file, SoundLoader.SoundParameter parameter)Array<AssetDescriptor>TextureAtlasLoader. getDependencies(java.lang.String fileName, FileHandle atlasFile, TextureAtlasLoader.TextureAtlasParameter parameter)Array<AssetDescriptor>TextureLoader. getDependencies(java.lang.String fileName, FileHandle file, TextureLoader.TextureParameter parameter)ParticleEffectParticleEffectLoader. load(AssetManager am, java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectParameter param)abstract TSynchronousAssetLoader. load(AssetManager assetManager, java.lang.String fileName, FileHandle file, P parameter)TextureAtlasTextureAtlasLoader. load(AssetManager assetManager, java.lang.String fileName, FileHandle file, TextureAtlasLoader.TextureAtlasParameter parameter)abstract voidAsynchronousAssetLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, P parameter)Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.voidBitmapFontLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter)voidCubemapLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter)voidI18NBundleLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter)voidModelLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, P parameters)voidMusicLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, MusicLoader.MusicParameter parameter)voidPixmapLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter)voidShaderProgramLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter)voidSkinLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, SkinLoader.SkinParameter parameter)voidSoundLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, SoundLoader.SoundParameter parameter)voidTextureLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, TextureLoader.TextureParameter parameter)ModelModelLoader. loadModel(FileHandle fileHandle)Directly load the model on the calling thread.ModelModelLoader. loadModel(FileHandle fileHandle, TextureProvider textureProvider)Directly load the model on the calling thread.ModelModelLoader. loadModel(FileHandle fileHandle, TextureProvider textureProvider, P parameters)Directly load the model on the calling thread.ModelModelLoader. loadModel(FileHandle fileHandle, P parameters)Directly load the model on the calling thread.ModelDataModelLoader. loadModelData(FileHandle fileHandle)Directly load the raw model data on the calling thread.abstract ModelDataModelLoader. loadModelData(FileHandle fileHandle, P parameters)Directly load the raw model data on the calling thread.abstract TAsynchronousAssetLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, P parameter)Loads the OpenGL part of the asset.BitmapFontBitmapFontLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, BitmapFontLoader.BitmapFontParameter parameter)CubemapCubemapLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, CubemapLoader.CubemapParameter parameter)I18NBundleI18NBundleLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, I18NBundleLoader.I18NBundleParameter parameter)ModelModelLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, P parameters)MusicMusicLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, MusicLoader.MusicParameter parameter)PixmapPixmapLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, PixmapLoader.PixmapParameter parameter)ShaderProgramShaderProgramLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, ShaderProgramLoader.ShaderProgramParameter parameter)SkinSkinLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, SkinLoader.SkinParameter parameter)SoundSoundLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, SoundLoader.SoundParameter parameter)TextureTextureLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, TextureLoader.TextureParameter parameter)voidAsynchronousAssetLoader. unloadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, P parameter)Called if this task is unloaded beforeloadSyncis called. -
Uses of FileHandle in com.badlogic.gdx.assets.loaders.resolvers
Methods in com.badlogic.gdx.assets.loaders.resolvers that return FileHandle Modifier and Type Method Description FileHandleAbsoluteFileHandleResolver. resolve(java.lang.String fileName)FileHandleClasspathFileHandleResolver. resolve(java.lang.String fileName)FileHandleExternalFileHandleResolver. resolve(java.lang.String fileName)FileHandleInternalFileHandleResolver. resolve(java.lang.String fileName)FileHandleLocalFileHandleResolver. resolve(java.lang.String fileName)FileHandlePrefixFileHandleResolver. resolve(java.lang.String fileName)FileHandleResolutionFileResolver. resolve(java.lang.String fileName)Methods in com.badlogic.gdx.assets.loaders.resolvers with parameters of type FileHandle Modifier and Type Method Description protected java.lang.StringResolutionFileResolver. resolve(FileHandle originalHandle, java.lang.String suffix) -
Uses of FileHandle in com.badlogic.gdx.files
Subclasses of FileHandle in com.badlogic.gdx.files Modifier and Type Class Description classFileHandleStreamA FileHandle intended to be subclassed for the purpose of implementingFileHandleStream.read()and/orFileHandleStream.write(boolean).Methods in com.badlogic.gdx.files that return FileHandle Modifier and Type Method Description FileHandleFileHandle. child(java.lang.String name)Returns a handle to the child with the specified name.FileHandleFileHandleStream. child(java.lang.String name)FileHandle[]FileHandle. list()Returns the paths to the children of this directory.FileHandle[]FileHandle. list(java.io.FileFilter filter)Returns the paths to the children of this directory that satisfy the specified filter.FileHandle[]FileHandle. list(java.io.FilenameFilter filter)Returns the paths to the children of this directory that satisfy the specified filter.FileHandle[]FileHandle. list(java.lang.String suffix)Returns the paths to the children of this directory with the specified suffix.FileHandle[]FileHandleStream. list()FileHandleFileHandle. parent()FileHandleFileHandleStream. parent()FileHandleFileHandle. sibling(java.lang.String name)Returns a handle to the sibling with the specified name.FileHandleFileHandleStream. sibling(java.lang.String name)static FileHandleFileHandle. tempDirectory(java.lang.String prefix)static FileHandleFileHandle. tempFile(java.lang.String prefix)Methods in com.badlogic.gdx.files with parameters of type FileHandle Modifier and Type Method Description voidFileHandle. copyTo(FileHandle dest)Copies this file or directory to the specified file or directory.voidFileHandleStream. copyTo(FileHandle dest)voidFileHandle. moveTo(FileHandle dest)Moves this file to the specified file, overwriting the file if it already exists.voidFileHandleStream. moveTo(FileHandle dest) -
Uses of FileHandle in com.badlogic.gdx.graphics
Methods in com.badlogic.gdx.graphics with parameters of type FileHandle Modifier and Type Method Description static TextureDataTextureData.Factory. loadFromFile(FileHandle file, boolean useMipMaps)static TextureDataTextureData.Factory. loadFromFile(FileHandle file, Pixmap.Format format, boolean useMipMaps)static TextureArrayDataTextureArrayData.Factory. loadFromFiles(Pixmap.Format format, boolean useMipMaps, FileHandle... files)static PixmapPixmapIO. readCIM(FileHandle file)Reads thePixmapfrom the given file, assuming the Pixmap was written with thePixmapIO.writeCIM(FileHandle, Pixmap)method.voidPixmapIO.PNG. write(FileHandle file, Pixmap pixmap)static voidPixmapIO. writeCIM(FileHandle file, Pixmap pixmap)Writes thePixmapto the given file using a custom compression scheme.static voidPixmapIO. writePNG(FileHandle file, Pixmap pixmap)Writes the pixmap as a PNG with compression.static voidPixmapIO. 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 FileHandle Constructor Description Cubemap(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 FileHandle Modifier and Type Field Description FileHandleBitmapFont.BitmapFontData. fontFileFileHandleTextureAtlas.TextureAtlasData.Page. textureFileMay be null if this page isn't associated with a file.Methods in com.badlogic.gdx.graphics.g2d that return FileHandle Modifier and Type Method Description FileHandleBitmapFont.BitmapFontData. getFontFile()Methods in com.badlogic.gdx.graphics.g2d with parameters of type FileHandle Modifier and Type Method Description Array<AssetDescriptor>PolygonRegionLoader. getDependencies(java.lang.String fileName, FileHandle file, PolygonRegionLoader.PolygonRegionParameters params)If the PSH file contains a line starting withparams.texturePrefix, anAssetDescriptorfor the file referenced on that line will be added to the returned Array.voidBitmapFont.BitmapFontData. load(FileHandle fontFile, boolean flip)voidParticleEffect. load(FileHandle effectFile, FileHandle imagesDir)voidParticleEffect. load(FileHandle effectFile, TextureAtlas atlas)voidParticleEffect. load(FileHandle effectFile, TextureAtlas atlas, java.lang.String atlasPrefix)PolygonRegionPolygonRegionLoader. load(AssetManager manager, java.lang.String fileName, FileHandle file, PolygonRegionLoader.PolygonRegionParameters parameter)PolygonRegionPolygonRegionLoader. load(TextureRegion textureRegion, FileHandle file)Loads a PolygonRegion from a PSH (Polygon SHape) file.voidTextureAtlas.TextureAtlasData. load(FileHandle packFile, FileHandle imagesDir, boolean flip)voidParticleEffect. loadEmitterImages(FileHandle imagesDir)voidParticleEffect. loadEmitters(FileHandle effectFile)protected TextureParticleEffect. loadTexture(FileHandle file)voidPixmapPackerIO. save(FileHandle file, PixmapPacker packer)Saves the provided PixmapPacker to the provided file.voidPixmapPackerIO. 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 FileHandle Constructor Description BitmapFont(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 FileHandle Constructor Description ModelBatch(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 FileHandle Modifier and Type Method Description ModelObjLoader. loadModel(FileHandle fileHandle, boolean flipV)Directly load the model on the calling thread.ModelDataG3dModelLoader. loadModelData(FileHandle fileHandle, ModelLoader.ModelParameters parameters)protected ModelDataObjLoader. loadModelData(FileHandle file, boolean flipV)ModelDataObjLoader. loadModelData(FileHandle file, ObjLoader.ObjLoaderParameters parameters)ModelDataG3dModelLoader. 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 FileHandle Modifier and Type Method Description Array<AssetDescriptor>ParticleEffectLoader. getDependencies(java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter)voidParticleEffectLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter)ParticleEffectParticleEffectLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, ParticleEffectLoader.ParticleEffectLoadParameter parameter)Constructors in com.badlogic.gdx.graphics.g3d.particles with parameters of type FileHandle Constructor Description ParticleEffectSaveParameter(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 FileHandle Constructor Description DefaultShaderProvider(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 FileHandle Modifier and Type Method Description FileHandleFileTextureData. getFileHandle()Methods in com.badlogic.gdx.graphics.glutils with parameters of type FileHandle Modifier and Type Method Description voidFacedCubemapData. load(Cubemap.CubemapSide side, FileHandle file)Loads the texture specified using theFileHandleand sets it to specified side, overwriting any previous data set to that side.voidETC1.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 Constructor Description ETC1Data(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 FileHandle Modifier and Type Method Description protected FileHandleAtlasTmxMapLoader. getAtlasFileHandle(FileHandle tmxFile)protected static FileHandleBaseTmxMapLoader. getRelativeFileHandle(FileHandle file, java.lang.String path)Methods in com.badlogic.gdx.maps.tiled that return types with arguments of type FileHandle Modifier and Type Method Description protected Array<FileHandle>TmxMapLoader. getDependencyFileHandles(FileHandle tmxFile)Methods in com.badlogic.gdx.maps.tiled with parameters of type FileHandle Modifier and Type Method Description protected voidAtlasTmxMapLoader. addStaticTiles(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileSet, XmlReader.Element element, Array<XmlReader.Element> tileElements, java.lang.String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, java.lang.String source, int offsetX, int offsetY, java.lang.String imageSource, int imageWidth, int imageHeight, FileHandle image)protected abstract voidBaseTmxMapLoader. addStaticTiles(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileset, XmlReader.Element element, Array<XmlReader.Element> tileElements, java.lang.String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, java.lang.String source, int offsetX, int offsetY, java.lang.String imageSource, int imageWidth, int imageHeight, FileHandle image)protected voidTmxMapLoader. addStaticTiles(FileHandle tmxFile, ImageResolver imageResolver, TiledMapTileSet tileSet, XmlReader.Element element, Array<XmlReader.Element> tileElements, java.lang.String name, int firstgid, int tilewidth, int tileheight, int spacing, int margin, java.lang.String source, int offsetX, int offsetY, java.lang.String imageSource, int imageWidth, int imageHeight, FileHandle image)protected FileHandleAtlasTmxMapLoader. getAtlasFileHandle(FileHandle tmxFile)Array<AssetDescriptor>BaseTmxMapLoader. getDependencies(java.lang.String fileName, FileHandle tmxFile, P parameter)Array<AssetDescriptor>TideMapLoader. getDependencies(java.lang.String fileName, FileHandle tmxFile, TideMapLoader.Parameters parameter)protected Array<AssetDescriptor>AtlasTmxMapLoader. getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter)protected abstract Array<AssetDescriptor>BaseTmxMapLoader. getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter)protected Array<AssetDescriptor>TmxMapLoader. getDependencyAssetDescriptors(FileHandle tmxFile, TextureLoader.TextureParameter textureParameter)protected Array<FileHandle>TmxMapLoader. getDependencyFileHandles(FileHandle tmxFile)protected static FileHandleBaseTmxMapLoader. getRelativeFileHandle(FileHandle file, java.lang.String path)TiledMapTideMapLoader. load(AssetManager assetManager, java.lang.String fileName, FileHandle tideFile, TideMapLoader.Parameters parameter)voidAtlasTmxMapLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle tmxFile, AtlasTmxMapLoader.AtlasTiledMapLoaderParameters parameter)voidTmxMapLoader. loadAsync(AssetManager manager, java.lang.String fileName, FileHandle tmxFile, TmxMapLoader.Parameters parameter)protected voidBaseTmxMapLoader. loadImageLayer(TiledMap map, MapLayers parentLayers, XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver)protected voidBaseTmxMapLoader. loadLayer(TiledMap map, MapLayers parentLayers, XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver)protected voidBaseTmxMapLoader. loadLayerGroup(TiledMap map, MapLayers parentLayers, XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver)TiledMapAtlasTmxMapLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, AtlasTmxMapLoader.AtlasTiledMapLoaderParameters parameter)TiledMapTmxMapLoader. loadSync(AssetManager manager, java.lang.String fileName, FileHandle file, TmxMapLoader.Parameters parameter)protected TiledMapBaseTmxMapLoader. loadTiledMap(FileHandle tmxFile, P parameter, ImageResolver imageResolver)Loads the map data, given the XML root elementprotected voidBaseTmxMapLoader. loadTileSet(XmlReader.Element element, FileHandle tmxFile, ImageResolver imageResolver) -
Uses of FileHandle in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type FileHandle Modifier and Type Method Description protected JsonSkin. getJsonLoader(FileHandle skinFile)voidSkin. 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 Constructor Description ParticleEffectActor(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 FileHandle Modifier and Type Method Description static I18NBundleI18NBundle. createBundle(FileHandle baseFileHandle)Creates a new bundle using the specifiedbaseFileHandle, the default locale and the default encoding "UTF-8".static I18NBundleI18NBundle. createBundle(FileHandle baseFileHandle, java.lang.String encoding)Creates a new bundle using the specifiedbaseFileHandleandencoding; the default locale is used.static I18NBundleI18NBundle. createBundle(FileHandle baseFileHandle, java.util.Locale locale)Creates a new bundle using the specifiedbaseFileHandleandlocale; the default encoding "UTF-8" is used.static I18NBundleI18NBundle. createBundle(FileHandle baseFileHandle, java.util.Locale locale, java.lang.String encoding)Creates a new bundle using the specifiedbaseFileHandle,localeandencoding.<T> TJson. fromJson(java.lang.Class<T> type, FileHandle file)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.Class elementType, FileHandle file)JsonValueBaseJsonReader. parse(FileHandle file)JsonValueJsonReader. parse(FileHandle file)JsonValueUBJsonReader. parse(FileHandle file)XmlReader.ElementXmlReader. parse(FileHandle file)voidJson. toJson(java.lang.Object object, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)
-