public class NullNotebookOutput extends Object implements NotebookOutput
| Constructor and Description |
|---|
NullNotebookOutput()
Instantiates a new Null notebook output.
|
NullNotebookOutput(String name)
Instantiates a new Null notebook output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> T |
code(UncheckedSupplier<T> fn,
int maxLog,
int framesNo)
Code t.
|
CharSequence |
file(byte[] data,
CharSequence filename,
CharSequence caption)
File string.
|
OutputStream |
file(CharSequence name)
File output stream.
|
String |
file(CharSequence data,
CharSequence caption)
File string.
|
String |
file(CharSequence data,
CharSequence fileName,
CharSequence caption)
File string.
|
CharSequence |
getFrontMatterProperty(CharSequence key)
Gets front matter property.
|
FileNanoHTTPD |
getHttpd()
Gets httpd.
|
int |
getMaxOutSize()
Gets max out size.
|
CharSequence |
getName()
Gets name.
|
File |
getResourceDir()
Gets resource dir.
|
void |
h1(CharSequence fmt,
Object... args)
H 1.
|
void |
h2(CharSequence fmt,
Object... args)
H 2.
|
void |
h3(CharSequence fmt,
Object... args)
H 3.
|
String |
image(BufferedImage rawImage,
CharSequence caption)
Image string.
|
CharSequence |
link(File file,
CharSequence text)
Link string.
|
void |
p(CharSequence fmt,
Object... args)
P.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendFrontMatterProperty, code, code, concat, out, out, setFrontMatterPropertypublic NullNotebookOutput(String name)
name - the namepublic NullNotebookOutput()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic <T> T code(@Nonnull UncheckedSupplier<T> fn, int maxLog, int framesNo)
NotebookOutputcode in interface NotebookOutputT - the type parameterfn - the fnmaxLog - the max logframesNo - the frames no@Nonnull public OutputStream file(@Nonnull CharSequence name)
NotebookOutputfile in interface NotebookOutputname - the name@Nonnull public String file(@Nonnull CharSequence data, CharSequence caption)
NotebookOutputfile in interface NotebookOutputdata - the datacaption - the caption@Nonnull public CharSequence file(@Nonnull byte[] data, @Nonnull CharSequence filename, CharSequence caption)
NotebookOutputfile in interface NotebookOutputdata - the datafilename - the filenamecaption - the caption@Nonnull public String file(@Nonnull CharSequence data, @Nonnull CharSequence fileName, CharSequence caption)
NotebookOutputfile in interface NotebookOutputdata - the datafileName - the file namecaption - the captionpublic void h1(CharSequence fmt, Object... args)
NotebookOutputh1 in interface NotebookOutputfmt - the fmtargs - the argspublic void h2(CharSequence fmt, Object... args)
NotebookOutputh2 in interface NotebookOutputfmt - the fmtargs - the argspublic void h3(CharSequence fmt, Object... args)
NotebookOutputh3 in interface NotebookOutputfmt - the fmtargs - the args@Nonnull public String image(BufferedImage rawImage, CharSequence caption)
NotebookOutputimage in interface NotebookOutputrawImage - the raw imagecaption - the caption@Nonnull public CharSequence link(File file, CharSequence text)
NotebookOutputlink in interface NotebookOutputfile - the filetext - the textpublic void p(CharSequence fmt, Object... args)
NotebookOutputp in interface NotebookOutputfmt - the fmtargs - the args@Nullable public CharSequence getFrontMatterProperty(CharSequence key)
NotebookOutputgetFrontMatterProperty in interface NotebookOutputkey - the keypublic CharSequence getName()
NotebookOutputgetName in interface NotebookOutput@Nonnull public File getResourceDir()
NotebookOutputgetResourceDir in interface NotebookOutputpublic int getMaxOutSize()
NotebookOutputgetMaxOutSize in interface NotebookOutputpublic FileNanoHTTPD getHttpd()
NotebookOutputgetHttpd in interface NotebookOutputCopyright © 2018 SimiaCryptus Software. All rights reserved.