Package org.lwjgl.sdl

Class SDLStorage

java.lang.Object
org.lwjgl.sdl.SDLStorage

public class SDLStorage extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the function pointers loaded from SDL.getLibrary().
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    nSDL_CopyStorageFile(long storage, long oldpath, long newpath)
    bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)
    static boolean
    nSDL_CreateStorageDirectory(long storage, long path)
    bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)
    static boolean
    nSDL_EnumerateStorageDirectory(long storage, long path, long callback, long userdata)
    bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)
    static boolean
    nSDL_GetStorageFileSize(long storage, long path, long length)
    bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)
    static boolean
    nSDL_GetStoragePathInfo(long storage, long path, long info)
    bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)
    static long
    nSDL_GlobStorageDirectory(long storage, long path, long pattern, int flags, long count)
    char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)
    static long
    SDL_Storage * SDL_OpenFileStorage(char const * path)
    static long
    nSDL_OpenStorage(long iface, long userdata)
    SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata)
    static long
    nSDL_OpenTitleStorage(long override, int props)
    SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)
    static long
    nSDL_OpenUserStorage(long org, long app, int props)
    SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)
    static boolean
    nSDL_ReadStorageFile(long storage, long path, long destination, long length)
    bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)
    static boolean
    nSDL_RemoveStoragePath(long storage, long path)
    bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)
    static boolean
    nSDL_RenameStoragePath(long storage, long oldpath, long newpath)
    bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)
    static boolean
    nSDL_WriteStorageFile(long storage, long path, long source, long length)
    bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)
    static boolean
    SDL_CloseStorage(long storage)
    bool SDL_CloseStorage(SDL_Storage * storage)
    static boolean
    SDL_CopyStorageFile(long storage, CharSequence oldpath, CharSequence newpath)
    bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)
    static boolean
    SDL_CopyStorageFile(long storage, ByteBuffer oldpath, ByteBuffer newpath)
    bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)
    static boolean
    bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)
    static boolean
    bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)
    static boolean
    SDL_EnumerateStorageDirectory(long storage, @Nullable CharSequence path, SDL_EnumerateDirectoryCallbackI callback, long userdata)
    bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)
    static boolean
    SDL_EnumerateStorageDirectory(long storage, @Nullable ByteBuffer path, SDL_EnumerateDirectoryCallbackI callback, long userdata)
    bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)
    static boolean
    SDL_GetStorageFileSize(long storage, CharSequence path, @Nullable LongBuffer length)
    bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)
    static boolean
    SDL_GetStorageFileSize(long storage, ByteBuffer path, @Nullable LongBuffer length)
    bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)
    static boolean
    SDL_GetStoragePathInfo(long storage, CharSequence path, @Nullable SDL_PathInfo info)
    bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)
    static boolean
    SDL_GetStoragePathInfo(long storage, ByteBuffer path, @Nullable SDL_PathInfo info)
    bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)
    static long
    Uint64 SDL_GetStorageSpaceRemaining(SDL_Storage * storage)
    static @Nullable PointerBuffer
    SDL_GlobStorageDirectory(long storage, @Nullable CharSequence path, @Nullable CharSequence pattern, int flags)
    char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)
    static @Nullable PointerBuffer
    SDL_GlobStorageDirectory(long storage, @Nullable ByteBuffer path, @Nullable ByteBuffer pattern, int flags)
    char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)
    static void
    void SDL_INIT_INTERFACE(SDL_StorageInterface * iface)
    static long
    SDL_Storage * SDL_OpenFileStorage(char const * path)
    static long
    SDL_Storage * SDL_OpenFileStorage(char const * path)
    static long
    SDL_OpenStorage(SDL_StorageInterface iface, long userdata)
    SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata)
    static long
    SDL_OpenTitleStorage(@Nullable CharSequence override, int props)
    SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)
    static long
    SDL_OpenTitleStorage(@Nullable ByteBuffer override, int props)
    SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)
    static long
    SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)
    static long
    SDL_OpenUserStorage(ByteBuffer org, ByteBuffer app, int props)
    SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)
    static boolean
    SDL_ReadStorageFile(long storage, CharSequence path, ByteBuffer destination)
    bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)
    static boolean
    SDL_ReadStorageFile(long storage, ByteBuffer path, ByteBuffer destination)
    bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)
    static boolean
    SDL_RemoveStoragePath(long storage, CharSequence path)
    bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)
    static boolean
    SDL_RemoveStoragePath(long storage, ByteBuffer path)
    bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)
    static boolean
    SDL_RenameStoragePath(long storage, CharSequence oldpath, CharSequence newpath)
    bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)
    static boolean
    SDL_RenameStoragePath(long storage, ByteBuffer oldpath, ByteBuffer newpath)
    bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)
    static boolean
    SDL_StorageReady(long storage)
    bool SDL_StorageReady(SDL_Storage * storage)
    static boolean
    SDL_WriteStorageFile(long storage, CharSequence path, ByteBuffer source)
    bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)
    static boolean
    SDL_WriteStorageFile(long storage, ByteBuffer path, ByteBuffer source)
    bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • nSDL_OpenTitleStorage

      public static long nSDL_OpenTitleStorage(long override, int props)
      SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)
    • SDL_OpenTitleStorage

      public static long SDL_OpenTitleStorage(@Nullable ByteBuffer override, int props)
      SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)
    • SDL_OpenTitleStorage

      public static long SDL_OpenTitleStorage(@Nullable CharSequence override, int props)
      SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)
    • nSDL_OpenUserStorage

      public static long nSDL_OpenUserStorage(long org, long app, int props)
      SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)
    • SDL_OpenUserStorage

      public static long SDL_OpenUserStorage(ByteBuffer org, ByteBuffer app, int props)
      SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)
    • SDL_OpenUserStorage

      public static long SDL_OpenUserStorage(CharSequence org, CharSequence app, int props)
      SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)
    • nSDL_OpenFileStorage

      public static long nSDL_OpenFileStorage(long path)
      SDL_Storage * SDL_OpenFileStorage(char const * path)
    • SDL_OpenFileStorage

      public static long SDL_OpenFileStorage(ByteBuffer path)
      SDL_Storage * SDL_OpenFileStorage(char const * path)
    • SDL_OpenFileStorage

      public static long SDL_OpenFileStorage(CharSequence path)
      SDL_Storage * SDL_OpenFileStorage(char const * path)
    • nSDL_OpenStorage

      public static long nSDL_OpenStorage(long iface, long userdata)
      SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata)
    • SDL_OpenStorage

      public static long SDL_OpenStorage(SDL_StorageInterface iface, long userdata)
      SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata)
    • SDL_CloseStorage

      public static boolean SDL_CloseStorage(long storage)
      bool SDL_CloseStorage(SDL_Storage * storage)
    • SDL_StorageReady

      public static boolean SDL_StorageReady(long storage)
      bool SDL_StorageReady(SDL_Storage * storage)
    • nSDL_GetStorageFileSize

      public static boolean nSDL_GetStorageFileSize(long storage, long path, long length)
      bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)
    • SDL_GetStorageFileSize

      public static boolean SDL_GetStorageFileSize(long storage, ByteBuffer path, @Nullable LongBuffer length)
      bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)
    • SDL_GetStorageFileSize

      public static boolean SDL_GetStorageFileSize(long storage, CharSequence path, @Nullable LongBuffer length)
      bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)
    • nSDL_ReadStorageFile

      public static boolean nSDL_ReadStorageFile(long storage, long path, long destination, long length)
      bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)
    • SDL_ReadStorageFile

      public static boolean SDL_ReadStorageFile(long storage, ByteBuffer path, ByteBuffer destination)
      bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)
    • SDL_ReadStorageFile

      public static boolean SDL_ReadStorageFile(long storage, CharSequence path, ByteBuffer destination)
      bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)
    • nSDL_WriteStorageFile

      public static boolean nSDL_WriteStorageFile(long storage, long path, long source, long length)
      bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)
    • SDL_WriteStorageFile

      public static boolean SDL_WriteStorageFile(long storage, ByteBuffer path, ByteBuffer source)
      bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)
    • SDL_WriteStorageFile

      public static boolean SDL_WriteStorageFile(long storage, CharSequence path, ByteBuffer source)
      bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)
    • nSDL_CreateStorageDirectory

      public static boolean nSDL_CreateStorageDirectory(long storage, long path)
      bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)
    • SDL_CreateStorageDirectory

      public static boolean SDL_CreateStorageDirectory(long storage, ByteBuffer path)
      bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)
    • SDL_CreateStorageDirectory

      public static boolean SDL_CreateStorageDirectory(long storage, CharSequence path)
      bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)
    • nSDL_EnumerateStorageDirectory

      public static boolean nSDL_EnumerateStorageDirectory(long storage, long path, long callback, long userdata)
      bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)
    • SDL_EnumerateStorageDirectory

      public static boolean SDL_EnumerateStorageDirectory(long storage, @Nullable ByteBuffer path, SDL_EnumerateDirectoryCallbackI callback, long userdata)
      bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)
    • SDL_EnumerateStorageDirectory

      public static boolean SDL_EnumerateStorageDirectory(long storage, @Nullable CharSequence path, SDL_EnumerateDirectoryCallbackI callback, long userdata)
      bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)
    • nSDL_RemoveStoragePath

      public static boolean nSDL_RemoveStoragePath(long storage, long path)
      bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)
    • SDL_RemoveStoragePath

      public static boolean SDL_RemoveStoragePath(long storage, ByteBuffer path)
      bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)
    • SDL_RemoveStoragePath

      public static boolean SDL_RemoveStoragePath(long storage, CharSequence path)
      bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)
    • nSDL_RenameStoragePath

      public static boolean nSDL_RenameStoragePath(long storage, long oldpath, long newpath)
      bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)
    • SDL_RenameStoragePath

      public static boolean SDL_RenameStoragePath(long storage, ByteBuffer oldpath, ByteBuffer newpath)
      bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)
    • SDL_RenameStoragePath

      public static boolean SDL_RenameStoragePath(long storage, CharSequence oldpath, CharSequence newpath)
      bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)
    • nSDL_CopyStorageFile

      public static boolean nSDL_CopyStorageFile(long storage, long oldpath, long newpath)
      bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)
    • SDL_CopyStorageFile

      public static boolean SDL_CopyStorageFile(long storage, ByteBuffer oldpath, ByteBuffer newpath)
      bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)
    • SDL_CopyStorageFile

      public static boolean SDL_CopyStorageFile(long storage, CharSequence oldpath, CharSequence newpath)
      bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)
    • nSDL_GetStoragePathInfo

      public static boolean nSDL_GetStoragePathInfo(long storage, long path, long info)
      bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)
    • SDL_GetStoragePathInfo

      public static boolean SDL_GetStoragePathInfo(long storage, ByteBuffer path, @Nullable SDL_PathInfo info)
      bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)
    • SDL_GetStoragePathInfo

      public static boolean SDL_GetStoragePathInfo(long storage, CharSequence path, @Nullable SDL_PathInfo info)
      bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)
    • SDL_GetStorageSpaceRemaining

      public static long SDL_GetStorageSpaceRemaining(long storage)
      Uint64 SDL_GetStorageSpaceRemaining(SDL_Storage * storage)
    • nSDL_GlobStorageDirectory

      public static long nSDL_GlobStorageDirectory(long storage, long path, long pattern, int flags, long count)
      char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)
    • SDL_GlobStorageDirectory

      public static @Nullable PointerBuffer SDL_GlobStorageDirectory(long storage, @Nullable ByteBuffer path, @Nullable ByteBuffer pattern, int flags)
      char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)
    • SDL_GlobStorageDirectory

      public static @Nullable PointerBuffer SDL_GlobStorageDirectory(long storage, @Nullable CharSequence path, @Nullable CharSequence pattern, int flags)
      char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)
    • SDL_INIT_INTERFACE

      public static void SDL_INIT_INTERFACE(SDL_StorageInterface iface)
      void SDL_INIT_INTERFACE(SDL_StorageInterface * iface)