@Immutable public interface Gist extends JsonReadable
Modifier and Type | Interface and Description |
---|---|
static class |
Gist.Smart
Smart Gist with extra features.
|
@NotNull(message="file content is never NULL") String read(@NotNull(message="file name can\'t be NULL") String name) throws IOException
name
- Name of itIOException
- If there is any I/O problemvoid write(@NotNull(message="file name can\'t be NULL") String name, @NotNull(message="file content can\'t be NULL") String content) throws IOException
name
- Name of itcontent
- Content to writeIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.