BowlerKernel
Public Member Functions | Private Member Functions | List of all members
com.neuronrobotics.bowlerstudio.scripting.SvgLoader Class Reference
Inheritance diagram for com.neuronrobotics.bowlerstudio.scripting.SvgLoader:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.bowlerstudio.scripting.SvgLoader:
Collaboration graph
[legend]

Public Member Functions

Object inlineScriptRun (File code, ArrayList< Object > args) throws Exception
 
Object inlineScriptRun (String code, ArrayList< Object > args) throws Exception
 
String getShellType ()
 
ArrayList< String > getFileExtenetion ()
 
boolean getIsTextFile ()
 
String getDefaultContents ()
 
- Public Member Functions inherited from com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage
default boolean isSupportedFileExtenetion (String filename)
 
default String getDefaultContents (String gitURL, String fileSlug)
 

Private Member Functions

Object run (SVGLoad s)
 

Detailed Description

Definition at line 15 of file SvgLoader.java.

Member Function Documentation

◆ getDefaultContents()

String com.neuronrobotics.bowlerstudio.scripting.SvgLoader.getDefaultContents ( )

Get the contents of an empty file

Returns

Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.

Definition at line 68 of file SvgLoader.java.

References eu.mihosoft.vrl.v3d.svg.SVGExporter.make().

Here is the call graph for this function:

◆ getFileExtenetion()

ArrayList<String> com.neuronrobotics.bowlerstudio.scripting.SvgLoader.getFileExtenetion ( )

Returns the list of supported file extentions Convention is to provide just the leters that make up the file extention

Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.

Definition at line 58 of file SvgLoader.java.

◆ getIsTextFile()

boolean com.neuronrobotics.bowlerstudio.scripting.SvgLoader.getIsTextFile ( )

This function returns if this is a binary file or a text file

Returns
true if the file is a text file.

Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.

Definition at line 63 of file SvgLoader.java.

◆ getShellType()

String com.neuronrobotics.bowlerstudio.scripting.SvgLoader.getShellType ( )

Returns the HashMap key for this language

Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.

Definition at line 53 of file SvgLoader.java.

◆ inlineScriptRun() [1/2]

Object com.neuronrobotics.bowlerstudio.scripting.SvgLoader.inlineScriptRun ( File  code,
ArrayList< Object >  args 
) throws Exception

This interface is for adding additional language support.

Parameters
codefile content of the code to be executed
argsthe incoming arguments as a list of objects
Returns
the objects returned form the code that ran

Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.

Definition at line 18 of file SvgLoader.java.

References com.neuronrobotics.bowlerstudio.scripting.SvgLoader.run().

Here is the call graph for this function:

◆ inlineScriptRun() [2/2]

Object com.neuronrobotics.bowlerstudio.scripting.SvgLoader.inlineScriptRun ( String  code,
ArrayList< Object >  args 
) throws Exception

This interface is for adding additional language support.

Parameters
codethe text content of the code to be executed
argsthe incoming arguments as a list of objects
Returns
the objects returned form the code that ran

Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.

Definition at line 24 of file SvgLoader.java.

References com.neuronrobotics.bowlerstudio.scripting.SvgLoader.run().

Here is the call graph for this function:

◆ run()

Object com.neuronrobotics.bowlerstudio.scripting.SvgLoader.run ( SVGLoad  s)
private

The documentation for this class was generated from the following file: