|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.JRcServer.commons.resource.ResourceType
public class ResourceType
リソースタイプ.
リソースのタイプを定義するオブジェクトです.
フィールドの概要 | |
---|---|
static int |
RESOURCE_TYPE_CACHE
リソースタイプ : キャッシュファイル. |
static int |
RESOURCE_TYPE_FILE
リソースタイプ : テンポラリファイル. |
static int |
RESOURCE_TYPE_MEMORY
リソースタイプ : メモリー. |
コンストラクタの概要 | |
---|---|
ResourceType()
コンストラクタ. |
|
ResourceType(int type,
long cacheID)
コンストラクタ. |
|
ResourceType(int type,
java.lang.String dir)
コンストラクタ. |
|
ResourceType(int type,
java.lang.String dir,
long cacheID)
コンストラクタ. |
メソッドの概要 | |
---|---|
long |
getCacheID()
設定されている対象キャッシュIDを取得. |
java.lang.String |
getTmpDir()
設定されている一時ディレクトリを取得. |
int |
getType()
設定されているリソースタイプを取得. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int RESOURCE_TYPE_MEMORY
public static final int RESOURCE_TYPE_FILE
public static final int RESOURCE_TYPE_CACHE
コンストラクタの詳細 |
---|
public ResourceType()
public ResourceType(int type, java.lang.String dir)
type
- リソースタイプを設定します.dir
- リソースタイプが ResourceType#RESOURCE_TYPE_FILE の場合の
一時ディレクトリ名を設定します.public ResourceType(int type, long cacheID)
type
- リソースタイプを設定します.cacheID
- リソースタイプが ResourceType#RESOURCE_TYPE_CACHE の場合の
キャッシュユニークIDを設定します.public ResourceType(int type, java.lang.String dir, long cacheID)
type
- リソースタイプを設定します.dir
- リソースタイプが ResourceType#RESOURCE_TYPE_FILE の場合の
一時ディレクトリ名を設定します.cacheID
- リソースタイプが ResourceType#RESOURCE_TYPE_CACHE の場合の
キャッシュユニークIDを設定します.メソッドの詳細 |
---|
public final int getType()
public final java.lang.String getTmpDir()
public final long getCacheID()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |