|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.io.PrivilegedTextReader
public class PrivilegedTextReader
Reads a text string from a file in a privileged context.
| Constructor Summary | |
|---|---|
PrivilegedTextReader()
|
|
| Method Summary | |
|---|---|
java.lang.String |
run()
|
void |
setFile(java.io.File file)
Set the file from which the data is to be read. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivilegedTextReader()
| Method Detail |
|---|
public void setFile(java.io.File file)
file - The file from which the data is to be read.public java.lang.String run()
run in interface java.security.PrivilegedAction<java.lang.String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||