| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(File from) |
br.com.objectos.core.io.Directory |
getDirectory() |
org.joda.time.DateTime |
getLastModified() |
String |
getName() |
String |
getPath() |
List<String> |
readLines() |
String |
readText() |
String |
readTextOr(String or) |
String |
readTextOrEmpty() |
byte[] |
toByteArray() |
String |
toString() |
void |
write(String text) |
void |
writeTo(File to) |
public br.com.objectos.core.io.Directory getDirectory()
public String getName()
public String getPath()
public org.joda.time.DateTime getLastModified()
public byte[] toByteArray()
throws IOException
IOExceptionpublic void copyFrom(File from) throws IOException
IOExceptionpublic List<String> readLines() throws IOException
IOExceptionpublic String readText() throws IOException
IOExceptionpublic String readTextOrEmpty()
public void write(String text) throws IOException
IOExceptionpublic void writeTo(File to) throws IOException
IOExceptionCopyright © 2016 Objectos Software LTDA. All rights reserved.