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 |
eval(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.
|
URI |
getArchiveHome()
Gets archive home.
|
URI |
getCurrentHome()
Gets current home.
|
CharSequence |
getFrontMatterProperty(CharSequence key)
Gets front matter property.
|
FileHTTPD |
getHttpd()
Gets httpd.
|
int |
getMaxOutSize()
Gets max out size.
|
CharSequence |
getName()
Gets name.
|
File |
getResourceDir()
Gets resource dir.
|
File |
getRoot()
Gets root.
|
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 |
jpg(BufferedImage rawImage,
CharSequence caption)
Jpg string.
|
File |
jpgFile(BufferedImage rawImage,
File file)
Jpg file file.
|
CharSequence |
link(File file,
CharSequence text)
Link string.
|
NotebookOutput |
onComplete(Runnable... tasks)
On complete notebook output.
|
void |
p(CharSequence fmt,
Object... args)
P.
|
String |
png(BufferedImage rawImage,
CharSequence caption)
Image string.
|
File |
pngFile(BufferedImage rawImage,
File file)
Png file file.
|
NotebookOutput |
setArchiveHome(URI archiveHome)
Sets archive home.
|
NotebookOutput |
setAutobrowse(boolean autobrowse)
Sets autobrowse.
|
NotebookOutput |
setCurrentHome(URI currentHome)
Sets current home.
|
NotebookOutput |
setName(String name)
Sets name.
|
<T> T |
subreport(String reportName,
Function<NotebookOutput,T> fn)
Subreport t.
|
void |
write()
Write.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendFrontMatterProperty, concat, eval, out, out, run, setFrontMatterPropertypublic NullNotebookOutput(String name)
name - the namepublic NullNotebookOutput()
public void close()
close in interface NotebookOutputclose in interface Closeableclose in interface AutoCloseable@Nonnull public File pngFile(@Nonnull BufferedImage rawImage, File file)
NotebookOutputpngFile in interface NotebookOutputrawImage - the raw imagefile - the file@Nonnull public String jpg(@Nullable BufferedImage rawImage, CharSequence caption)
NotebookOutputjpg in interface NotebookOutputrawImage - the raw imagecaption - the caption@Nonnull public File jpgFile(@Nonnull BufferedImage rawImage, File file)
NotebookOutputjpgFile in interface NotebookOutputrawImage - the raw imagefile - the filepublic <T> T eval(@Nonnull UncheckedSupplier<T> fn, int maxLog, int framesNo)
NotebookOutputeval in interface NotebookOutputT - the type parameterfn - the fnmaxLog - the max logframesNo - the frames nopublic void write()
NotebookOutputwrite in interface NotebookOutput@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 png(BufferedImage rawImage, CharSequence caption)
NotebookOutputpng in interface NotebookOutputrawImage - the raw pngcaption - 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@Nonnull public File getRoot()
NotebookOutputgetRoot in interface NotebookOutput@Nonnull public NotebookOutput onComplete(Runnable... tasks)
NotebookOutputonComplete in interface NotebookOutputtasks - the tasks@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 FileHTTPD getHttpd()
NotebookOutputgetHttpd in interface NotebookOutputpublic <T> T subreport(String reportName, Function<NotebookOutput,T> fn)
NotebookOutputsubreport in interface NotebookOutputT - the type parameterreportName - the report namefn - the fnpublic URI getCurrentHome()
NotebookOutputgetCurrentHome in interface NotebookOutputpublic NotebookOutput setCurrentHome(URI currentHome)
NotebookOutputsetCurrentHome in interface NotebookOutputcurrentHome - the current homepublic URI getArchiveHome()
NotebookOutputgetArchiveHome in interface NotebookOutputpublic NotebookOutput setArchiveHome(URI archiveHome)
NotebookOutputsetArchiveHome in interface NotebookOutputarchiveHome - the archive homepublic NotebookOutput setName(String name)
NotebookOutputsetName in interface NotebookOutputname - the namepublic NotebookOutput setAutobrowse(boolean autobrowse)
NotebookOutputsetAutobrowse in interface NotebookOutputautobrowse - the autobrowseCopyright © 2019 SimiaCryptus Software. All rights reserved.