Package org.oscim.gdx

Class GdxAssets


  • public class GdxAssets
    extends org.oscim.backend.AssetAdapter
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getAssetPath​(java.lang.String fileName)
      Get file path in GDX assets.
      static void init​(java.lang.String path)  
      java.io.InputStream openFileAsStream​(java.lang.String fileName)  
      • Methods inherited from class org.oscim.backend.AssetAdapter

        init, readFileAsStream, readTextFile
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • openFileAsStream

        public java.io.InputStream openFileAsStream​(java.lang.String fileName)
        Specified by:
        openFileAsStream in class org.oscim.backend.AssetAdapter
      • getAssetPath

        public static java.lang.String getAssetPath​(java.lang.String fileName)
        Get file path in GDX assets.
      • init

        public static void init​(java.lang.String path)