KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Java Class Reference

Java: Java utils like compiling classes out of matlab. More...

Detailed Description

Java: Java utils like compiling classes out of matlab.

Author
Daniel Wirtz
Date
2011-09-23
New in 0.5:
(Daniel Wirtz, 2011-09-23) Added this class.

This class is part of the framework

KerMor - Model Order Reduction using Kernels

Definition at line 17 of file Java.m.

Public Member Functions

function  exportFunctions ()
 Compile AffFcns class. JProjectSource needed for JRB/JKerMor models. More...
 

Public Attributes

cell< charSources
 The names of the source files. More...
 
char JProjectSource = ""
 An additional JProjectSource for inclusion. More...
 
cell< charAdditionalClassPath = {""}
 An additional cell of paths for the java classpath. More...
 
char Package = ""
 The classes package (optional, required if it has one but the default package) More...
 
char TargetFolder = ""
 The target folder for the class output. More...
 
logical CreateJVM = true
 Create a class for java virtual machine. More...
 
logical CreateAndroid = false
 Create a class for the Dalvik VM (Android dex required) More...
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs. More...
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. More...
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends. More...
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function. More...
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. More...
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects. More...
 
 findprop
 Returns a meta.property objects associated with the specified property name. More...
 
 fields
 Returns a cell array of string containing the names of public properties. More...
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. More...
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. More...
 
 eq
 Relational functions example. See details for more information. More...
 
 transpose
 Transposes the elements of the handle object array. More...
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function. More...
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. More...
 
 sort
 ort the handle objects in any array in ascending or descending order. More...
 

Static Public Attributes

static const  JavaJarFile = "classes.jar"
 
static const  AndroidJarFile = "dexclasses.jar"
 

Member Function Documentation

function Java.exportFunctions ( )

Compile AffFcns class. JProjectSource needed for JRB/JKerMor models.

Definition at line 133 of file Java.m.

References AdditionalClassPath, AndroidJarFile, CreateAndroid, CreateJVM, Utils.implode(), JavaJarFile, JProjectSource, Package, Sources, and TargetFolder.

Here is the call graph for this function:

Member Data Documentation

Java.AdditionalClassPath = {""}

An additional cell of paths for the java classpath.

Set this value if the class implements Interfaces from their respective Java projects.

Default: {}

Definition at line 66 of file Java.m.

Referenced by exportFunctions().

const Java.AndroidJarFile = "dexclasses.jar"
static

Definition at line 127 of file Java.m.

Referenced by exportFunctions().

Java.CreateAndroid = false

Create a class for the Dalvik VM (Android dex required)

if system(dx) == 1 error(Error checking for dex compiler.); end

Default: true

Note
This property has custom functionality when its value is changed.

Definition at line 112 of file Java.m.

Referenced by exportFunctions().

Java.CreateJVM = true

Create a class for java virtual machine.

Default: true

Note
This property has custom functionality when its value is changed.

Definition at line 102 of file Java.m.

Referenced by exportFunctions().

const Java.JavaJarFile = "classes.jar"
static

Definition at line 124 of file Java.m.

Referenced by exportFunctions().

Java.JProjectSource = ""

An additional JProjectSource for inclusion.

Set this value if the class implements Interfaces from their respective Java projects.

Default: '

Definition at line 53 of file Java.m.

Referenced by exportFunctions().

Java.Package = ""

The classes package (optional, required if it has one but the default package)

Default: '

Definition at line 79 of file Java.m.

Referenced by exportFunctions().

Java.Sources

The names of the source files.

If a JProjectSource is given, just specify the filenames. It will be used in combination with a possibly set package to determine the source file location.

Definition at line 39 of file Java.m.

Referenced by exportFunctions().

Java.TargetFolder = ""

The target folder for the class output.

Required, an error will be thrown if the folder cannot be created.

Default: '

Note
This property has custom functionality when its value is changed.

Definition at line 89 of file Java.m.

Referenced by exportFunctions().


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