@Deprecated public class HtmlNotebookOutput extends Object implements NotebookOutput
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ROOT
Deprecated.
The constant DEFAULT_ROOT.
|
String |
sourceRoot
Deprecated.
The Source root.
|
File |
workingDir
Deprecated.
The Working dir.
|
| Constructor and Description |
|---|
HtmlNotebookOutput(File parentDirectory,
OutputStream out)
Deprecated.
Instantiates a new Html notebook output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
<T> T |
code(UncheckedSupplier<T> fn,
int maxLog,
int framesNo)
Deprecated.
Code t.
|
static HtmlNotebookOutput |
create(File parentDirectory)
Deprecated.
Create html notebook output.
|
CharSequence |
file(byte[] data,
CharSequence filename,
CharSequence caption)
Deprecated.
File string.
|
OutputStream |
file(CharSequence name)
Deprecated.
File output stream.
|
String |
file(CharSequence data,
CharSequence caption)
Deprecated.
File string.
|
String |
file(CharSequence data,
CharSequence fileName,
CharSequence caption)
Deprecated.
File string.
|
CharSequence |
getFrontMatterProperty(CharSequence key)
Deprecated.
Gets front matter property.
|
FileNanoHTTPD |
getHttpd()
Deprecated.
Gets httpd.
|
int |
getMaxImageSize()
Deprecated.
|
int |
getMaxOutSize()
Deprecated.
Gets max out size.
|
CharSequence |
getName()
Deprecated.
Gets name.
|
File |
getResourceDir()
Deprecated.
Gets resource dir.
|
CharSequence |
getSourceRoot()
Deprecated.
Gets source root.
|
void |
h1(CharSequence fmt,
Object... args)
Deprecated.
H 1.
|
void |
h2(CharSequence fmt,
Object... args)
Deprecated.
H 2.
|
void |
h3(CharSequence fmt,
Object... args)
Deprecated.
H 3.
|
String |
image(BufferedImage rawImage,
CharSequence caption)
Deprecated.
Image string.
|
CharSequence |
link(File file,
CharSequence text)
Deprecated.
Link string.
|
void |
out(String fmt,
Object... args)
Deprecated.
Out.
|
void |
p(CharSequence fmt,
Object... args)
Deprecated.
P.
|
HtmlNotebookOutput |
setMaxImageSize(int maxImageSize)
Deprecated.
|
HtmlNotebookOutput |
setMaxOutSize(int maxOutSize)
Deprecated.
|
HtmlNotebookOutput |
setSourceRoot(String sourceRoot)
Deprecated.
Sets source root.
|
String |
summarize(int maxLog,
String string)
Deprecated.
Summarize string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendFrontMatterProperty, code, code, concat, out, setFrontMatterPropertypublic final File workingDir
public String sourceRoot
public HtmlNotebookOutput(File parentDirectory, @Nonnull OutputStream out)
parentDirectory - the parent directoryout - the outpublic static HtmlNotebookOutput create(File parentDirectory) throws FileNotFoundException
parentDirectory - the parent directoryFileNotFoundException - the file not found exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException@Nonnull public <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(CharSequence data, CharSequence caption)
NotebookOutputfile in interface NotebookOutputdata - the datacaption - the caption@Nonnull public CharSequence file(byte[] data, @Nonnull CharSequence filename, CharSequence caption)
NotebookOutputfile in interface NotebookOutputdata - the datafilename - the filenamecaption - the caption@Nonnull public String file(CharSequence data, @Nonnull CharSequence fileName, CharSequence caption)
NotebookOutputfile in interface NotebookOutputdata - the datafileName - the file namecaption - the caption@Nonnull public File getResourceDir()
getResourceDir in interface NotebookOutputpublic CharSequence getSourceRoot()
@Nonnull public HtmlNotebookOutput setSourceRoot(String sourceRoot)
sourceRoot - the source rootpublic 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(@Nullable BufferedImage rawImage, CharSequence caption)
NotebookOutputimage in interface NotebookOutputrawImage - the raw imagecaption - the captionpublic CharSequence link(@Nonnull File file, CharSequence text)
NotebookOutputlink in interface NotebookOutputfile - the filetext - the textpublic void out(@Nonnull String fmt, @Nonnull Object... args)
NotebookOutputout in interface NotebookOutputfmt - the fmtargs - the argspublic 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 key@Nonnull public CharSequence getName()
NotebookOutputgetName in interface NotebookOutput@Nonnull public String summarize(int maxLog, @Nonnull String string)
maxLog - the max logstring - the stringpublic int getMaxOutSize()
NotebookOutputgetMaxOutSize in interface NotebookOutputpublic FileNanoHTTPD getHttpd()
NotebookOutputgetHttpd in interface NotebookOutputpublic int getMaxImageSize()
public HtmlNotebookOutput setMaxImageSize(int maxImageSize)
public HtmlNotebookOutput setMaxOutSize(int maxOutSize)
Copyright © 2018 SimiaCryptus Software. All rights reserved.