public interface ContentManager
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.Charset |
detectCharset(java.lang.String location)
Detect the Charset of the content in the specified location.
|
java.lang.String |
load(java.lang.String location)
Loads content from the specified location.
|
boolean |
save(java.lang.String content,
java.nio.charset.Charset charset,
java.lang.String location)
Saves the
String content to the specified location using the specified Charset. |
boolean |
save(java.lang.String content,
java.lang.String location)
Saves content to the specified location.
|
java.lang.String load(java.lang.String location)
throws java.io.IOException
location - java.io.IOExceptionboolean save(java.lang.String content,
java.lang.String location)
content - location - boolean save(java.lang.String content,
java.nio.charset.Charset charset,
java.lang.String location)
String content to the specified location using the specified Charset.content - charset - location - java.nio.charset.Charset detectCharset(java.lang.String location)
location - Copyright © 2018. All Rights Reserved.