Class AssetUtils


  • public class AssetUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AssetUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void alLoadVorbis​(java.lang.String filepath, int buffer)  
      static java.lang.String getSource​(java.lang.String filePath)  
      static java.util.Map<java.lang.Character,​GlyphData> readFont​(java.lang.String filePath, int textureWidth, int textureHeight)  
      static java.awt.image.BufferedImage readImageTexture​(java.lang.String name)  
      static org.jdom2.Document readXML​(java.lang.String filePath)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssetUtils

        public AssetUtils()
    • Method Detail

      • getSource

        public static java.lang.String getSource​(java.lang.String filePath)
      • readFont

        public static java.util.Map<java.lang.Character,​GlyphData> readFont​(java.lang.String filePath,
                                                                                  int textureWidth,
                                                                                  int textureHeight)
      • alLoadVorbis

        public static void alLoadVorbis​(java.lang.String filepath,
                                        int buffer)
      • readXML

        public static org.jdom2.Document readXML​(java.lang.String filePath)
      • readImageTexture

        public static java.awt.image.BufferedImage readImageTexture​(java.lang.String name)