Talk.InFile
Constructor and Description |
---|
InFile()
Ctor.
|
InFile(File file)
Ctor.
|
InFile(String... lines)
Ctor.
|
InFile(com.jcabi.xml.XML xml)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
active(boolean yes)
Make it active or passive.
|
void |
modify(Iterable<org.xembly.Directive> dirs)
Modify its content.
|
String |
name()
Its unique name.
|
Long |
number()
Its unique number.
|
com.jcabi.xml.XML |
read()
Read its content.
|
Date |
updated()
When was it updated.
|
public InFile() throws IOException
IOException
- If failspublic InFile(String... lines) throws IOException
lines
- Lines to concatIOException
- If failspublic InFile(com.jcabi.xml.XML xml) throws IOException
xml
- XML to saveIOException
- If failspublic InFile(File file)
file
- The filepublic Long number() throws IOException
Talk
number
in interface Talk
IOException
- If failspublic String name() throws IOException
Talk
name
in interface Talk
IOException
- If failspublic com.jcabi.xml.XML read() throws IOException
Talk
read
in interface Talk
IOException
- If failspublic void modify(Iterable<org.xembly.Directive> dirs) throws IOException
Talk
modify
in interface Talk
dirs
- DirectivesIOException
- If failsCopyright © 2009–2018 Rultor Inc.. All rights reserved.