RuneHive-Game
Loading...
Searching...
No Matches
dev.advo.fs.fs.FileSystemConstants Class Reference

Holds file system related constants. More...

Static Public Attributes

static final int ARCHIVE_COUNT = 9
 The number of archives in cache 0.
static final int BLOCK_SIZE = HEADER_SIZE + CHUNK_SIZE
 The size of a block.
static final int CACHE_COUNT = 5
 The number of caches.
static final int CHUNK_SIZE = 512
 The size of a chunk.
static final int HEADER_SIZE = 8
 The size of a header.
static final int INDEX_SIZE = 6
 The size of an index.

Private Member Functions

 FileSystemConstants ()
 Default private constructor to prevent instantiation.

Detailed Description

Holds file system related constants.

Author
Graham

Definition at line 7 of file FileSystemConstants.java.

Constructor & Destructor Documentation

◆ FileSystemConstants()

dev.advo.fs.fs.FileSystemConstants.FileSystemConstants ( )
private

Default private constructor to prevent instantiation.

Definition at line 42 of file FileSystemConstants.java.

42 {
43
44 }

Member Data Documentation

◆ ARCHIVE_COUNT

final int dev.advo.fs.fs.FileSystemConstants.ARCHIVE_COUNT = 9
static

The number of archives in cache 0.

Definition at line 17 of file FileSystemConstants.java.

◆ BLOCK_SIZE

final int dev.advo.fs.fs.FileSystemConstants.BLOCK_SIZE = HEADER_SIZE + CHUNK_SIZE
static

The size of a block.

Definition at line 37 of file FileSystemConstants.java.

Referenced by dev.advo.fs.fs.IndexedFileSystem.getFile().

◆ CACHE_COUNT

final int dev.advo.fs.fs.FileSystemConstants.CACHE_COUNT = 5
static

The number of caches.

Definition at line 12 of file FileSystemConstants.java.

◆ CHUNK_SIZE

final int dev.advo.fs.fs.FileSystemConstants.CHUNK_SIZE = 512
static

The size of a chunk.

Definition at line 32 of file FileSystemConstants.java.

Referenced by dev.advo.fs.fs.IndexedFileSystem.getFile().

◆ HEADER_SIZE

final int dev.advo.fs.fs.FileSystemConstants.HEADER_SIZE = 8
static

The size of a header.

Definition at line 27 of file FileSystemConstants.java.

Referenced by dev.advo.fs.fs.IndexedFileSystem.getFile().

◆ INDEX_SIZE

final int dev.advo.fs.fs.FileSystemConstants.INDEX_SIZE = 6
static

The documentation for this class was generated from the following file: