Class HeadlessFiles

  • All Implemented Interfaces:
    com.badlogic.gdx.Files

    public final class HeadlessFiles
    extends java.lang.Object
    implements com.badlogic.gdx.Files
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.badlogic.gdx.Files

        com.badlogic.gdx.Files.FileType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String externalPath  
      static java.lang.String localPath  
    • Constructor Summary

      Constructors 
      Constructor Description
      HeadlessFiles()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.badlogic.gdx.files.FileHandle absolute​(java.lang.String path)  
      com.badlogic.gdx.files.FileHandle classpath​(java.lang.String path)  
      com.badlogic.gdx.files.FileHandle external​(java.lang.String path)  
      java.lang.String getExternalStoragePath()  
      com.badlogic.gdx.files.FileHandle getFileHandle​(java.lang.String fileName, com.badlogic.gdx.Files.FileType type)  
      java.lang.String getLocalStoragePath()  
      com.badlogic.gdx.files.FileHandle internal​(java.lang.String path)  
      boolean isExternalStorageAvailable()  
      boolean isLocalStorageAvailable()  
      com.badlogic.gdx.files.FileHandle local​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

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

      • externalPath

        public static final java.lang.String externalPath
      • localPath

        public static final java.lang.String localPath
    • Constructor Detail

      • HeadlessFiles

        public HeadlessFiles()
    • Method Detail

      • getFileHandle

        public com.badlogic.gdx.files.FileHandle getFileHandle​(java.lang.String fileName,
                                                               com.badlogic.gdx.Files.FileType type)
        Specified by:
        getFileHandle in interface com.badlogic.gdx.Files
      • classpath

        public com.badlogic.gdx.files.FileHandle classpath​(java.lang.String path)
        Specified by:
        classpath in interface com.badlogic.gdx.Files
      • internal

        public com.badlogic.gdx.files.FileHandle internal​(java.lang.String path)
        Specified by:
        internal in interface com.badlogic.gdx.Files
      • external

        public com.badlogic.gdx.files.FileHandle external​(java.lang.String path)
        Specified by:
        external in interface com.badlogic.gdx.Files
      • absolute

        public com.badlogic.gdx.files.FileHandle absolute​(java.lang.String path)
        Specified by:
        absolute in interface com.badlogic.gdx.Files
      • local

        public com.badlogic.gdx.files.FileHandle local​(java.lang.String path)
        Specified by:
        local in interface com.badlogic.gdx.Files
      • getExternalStoragePath

        public java.lang.String getExternalStoragePath()
        Specified by:
        getExternalStoragePath in interface com.badlogic.gdx.Files
      • isExternalStorageAvailable

        public boolean isExternalStorageAvailable()
        Specified by:
        isExternalStorageAvailable in interface com.badlogic.gdx.Files
      • getLocalStoragePath

        public java.lang.String getLocalStoragePath()
        Specified by:
        getLocalStoragePath in interface com.badlogic.gdx.Files
      • isLocalStorageAvailable

        public boolean isLocalStorageAvailable()
        Specified by:
        isLocalStorageAvailable in interface com.badlogic.gdx.Files