public class StatusRepo extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static boolean |
ON_MEMORY |
| コンストラクタと説明 |
|---|
StatusRepo(String name) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
cleanUp() |
boolean |
delete(String fileName) |
void |
fin() |
File |
getPath() |
String |
getProp(String key) |
void |
removeProp(String key) |
byte[] |
restoreBytes(String fileName) |
Object |
restoreData(String fileName) |
void |
saveBytes(String fileName,
byte[] bytes) |
void |
saveData(String fileName,
Serializable data) |
void |
saveProp() |
void |
setProp(String key,
String value) |
public StatusRepo(String name) throws IllegalArgumentException, IOException
public void fin()
public File getPath()
public void cleanUp()
public void removeProp(String key)
public void saveProp()
throws IOException
IOExceptionpublic void saveBytes(String fileName, byte[] bytes) throws FileNotFoundException, IOException
public byte[] restoreBytes(String fileName) throws FileNotFoundException, IOException
public boolean delete(String fileName)
public void saveData(String fileName, Serializable data) throws FileNotFoundException, IOException
public Object restoreData(String fileName) throws FileNotFoundException, IOException, ClassNotFoundException
Copyright © 2017. All rights reserved.