@ApplicationScoped public class ExperimentalEditorServiceImpl extends Object implements ExperimentalEditorService
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION |
static String |
SEPARATOR |
static String |
STORAGE_PATH |
| Constructor and Description |
|---|
ExperimentalEditorServiceImpl(SpacesAPI spaces,
IOService ioService,
javax.enterprise.event.Event<ExperimentalAssetRemoved> assetRemovedEvent) |
| Modifier and Type | Method and Description |
|---|---|
Path |
create(String assetName) |
void |
delete(Path path,
String comment) |
void |
init() |
protected void |
initializeFileSystem() |
List<Path> |
listAll() |
String |
load(Path path) |
void |
save(Path path,
String content) |
public static final String STORAGE_PATH
public static final String SEPARATOR
public static final String EXTENSION
@Inject public ExperimentalEditorServiceImpl(SpacesAPI spaces, @Named(value="configIO") IOService ioService, javax.enterprise.event.Event<ExperimentalAssetRemoved> assetRemovedEvent)
@PostConstruct public void init()
public List<Path> listAll()
listAll in interface ExperimentalEditorServicepublic Path create(String assetName)
create in interface ExperimentalEditorServicepublic String load(Path path)
load in interface ExperimentalEditorServicepublic void save(Path path, String content)
save in interface ExperimentalEditorServicepublic void delete(Path path, String comment)
delete in interface SupportsDeleteprotected void initializeFileSystem()
Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.