public class DatastoreContentManager extends Object implements org.jledit.ContentManager
| Constructor and Description |
|---|
DatastoreContentManager(io.fabric8.api.DataStore dataStore) |
| Modifier and Type | Method and Description |
|---|---|
Charset |
detectCharset(String location)
Detect the Charset of the content in the specified location.
|
String |
load(String location)
Loads content from the specified location.
|
boolean |
save(String content,
Charset charset,
String location)
|
boolean |
save(String content,
String location)
Saves content to the specified location.
|
public DatastoreContentManager(io.fabric8.api.DataStore dataStore)
public String load(String location) throws IOException
load in interface org.jledit.ContentManagerlocation - IOExceptionpublic boolean save(String content, String location)
save in interface org.jledit.ContentManagercontent - location - public boolean save(String content, Charset charset, String location)
save in interface org.jledit.ContentManagercontent - charset - location - Copyright © 2011–2014 Red Hat. All rights reserved.