|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.rpps.core.impl.FileService
The object used for simplifying file operations.
| Field Summary | |
|---|---|
static String |
SCRIPTS_DIR
|
static String |
SCRIPTS_EXT
|
| Constructor Summary | |
|---|---|
FileService()
|
|
| Method Summary | |
|---|---|
static String |
convertURLToPath(URL url)
Converts feed URL to local path string. |
BufferedReader |
getBufferedReader(String filePath)
Gets BufferedReader from the specified file. |
BufferedWriter |
getBufferedWriter(String filePath)
Gets BufferedWriter to specified file. |
static FileService |
getInstance()
Creates an FileService object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String SCRIPTS_DIR
public static String SCRIPTS_EXT
| Constructor Detail |
public FileService()
| Method Detail |
public static FileService getInstance()
public static String convertURLToPath(URL url)
url - the feed url.
public BufferedReader getBufferedReader(String filePath)
throws FileNotFoundException
filePath - the file path string.
FileNotFoundException
public BufferedWriter getBufferedWriter(String filePath)
throws IOException
filePath - the file path string.
IOException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||