ostrat.utiljvm

package ostrat.utiljvm

This package is for Java byte code targets.

Attributes

Members list

Type members

Classlikes

implicit class DirPathAbsExtensions(val thisPath: DirsAbs)

Attributes

Supertypes
class Object
trait Matchable
class Any
case class GitProj(path: String, projName: String)

A class for creating simple one module git projects, with Sbt Mill and hello world files.

A class for creating simple one module git projects, with Sbt Mill and hello world files.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait ServletUtil

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def fileCopy(fromStr: String, toStr: String): ErrBi[Exception, FileCopied]

Function object apply method to get FileStatements from a Java build resource.

Function object apply method to get FileStatements from a Java build resource.

Attributes

def fileWrite(path: DirsAbs, fileName: String, content: String): ErrBi[IOExc, FileWritten]

Writes the String given in the third parameter to the full path and filename given by the first name. Returns a successful message on success.

Writes the String given in the third parameter to the full path and filename given by the first name. Returns a successful message on success.

Attributes

def fileWrite(pathName: String, content: String): ErrBi[IOExc, FileWritten]

Writes the String given in the third parameter to the full path and filename given by the first name. Returns a successful message on success.

Writes the String given in the third parameter to the full path and filename given by the first name. Returns a successful message on success.

Attributes

def findDevSetting[A : Unshow](settingStr: String): ThrowMon[A]

Find a setting of the given name and type from the file DevSettings.rson.

Find a setting of the given name and type from the file DevSettings.rson.

Attributes

def findDevSettingElse[A : Unshow](settingStr: String, elseValue: => A): A

Find a setting of the given name and type from the file DevSettings.rson, else return the given default value..

Find a setting of the given name and type from the file DevSettings.rson, else return the given default value..

Attributes

Find a setting of the given name and return its Expr from the file DevSettings.rson.

Find a setting of the given name and return its Expr from the file DevSettings.rson.

Attributes

Find the String for the Identifer value of o setting of the given name in the file DevSettings.rson.

Find the String for the Identifer value of o setting of the given name in the file DevSettings.rson.

Attributes

def fromRsonFileFind[A : Unshow](fileName: String): ThrowMon[A]

Attempts to load a value of the specified type from an RSON format file.

Attempts to load a value of the specified type from an RSON format file.

Attributes

def fromRsonFileFindElse[A : Unshow](fileName: String, elseValue: => A): A

Attempts to load a value of the specified type from an RSON format file, in case of failure returns the else default value.

Attempts to load a value of the specified type from an RSON format file, in case of failure returns the else default value.

Attributes

def fromRsonFileFindForeach[A : Unshow](fileName: String, f: A => Unit): Unit

Attempts to find and load file, attempts to parse the file, attempts to find object of type A. If all stages successful, calls procedure (Unit returning function) with that object of type A

Attempts to find and load file, attempts to parse the file, attempts to find object of type A. If all stages successful, calls procedure (Unit returning function) with that object of type A

Attributes

def homeWrite(dir: String, fileName: String, str: String): ErrBi[IOExc, FileWritten]

Write a String to a file in the subdirectory of the home directory.

Write a String to a file in the subdirectory of the home directory.

Attributes

def loadTextFile(pathFileName: String): ThrowMon[String]

Attempts to load text file into a String.

Attempts to load text file into a String.

Attributes

Possible path to the openstrat directory, if it can be found in Dev/User/DevSettings.rson file.

Possible path to the openstrat directory, if it can be found in Dev/User/DevSettings.rson file.

Attributes

def projPathDo(f: DirsAbs => Unit): Unit

If the project path can be found in Dev/User/DevSettings.rson do the side effect function.

If the project path can be found in Dev/User/DevSettings.rson do the side effect function.

Attributes

def saveTextFile(path: String, fileName: String, output: String): Unit

Saves text file to specified file at given path directory.

Saves text file to specified file at given path directory.

Attributes

Needs removal.

Needs removal.

Attributes

def settFromFile[A : Unshow](settingStr: String, fileName: String): ErrBi[Throwable, A]

Attempts to load the value of a setting of the specified name from a file.

Attempts to load the value of a setting of the specified name from a file.

Attributes

def settFromFileElse[A : Unshow](settingStr: String, fileName: String, elseValue: A): A

Attempts to load the value of a setting of the specified name from a file, in case of failure returns the else default value.

Attempts to load the value of a setting of the specified name from a file, in case of failure returns the else default value.

Attributes

If the project path can be found in Dev/User/DevSettings.rson do the side effect function.

If the project path can be found in Dev/User/DevSettings.rson do the side effect function.

Attributes

Possible path to the staging directory for openstrat artifacts, if it can be found in Dev/User/DevSettings.rson file.

Possible path to the staging directory for openstrat artifacts, if it can be found in Dev/User/DevSettings.rson file.

Attributes

Function object apply method to get statements from a Java build resource.

Function object apply method to get statements from a Java build resource.

Attributes

Concrete fields

The resource folders and hence the developer settings folder are set in the build tool Sbt and Mill. They are not set in the code.

The resource folders and hence the developer settings folder are set in the build tool Sbt and Mill. They are not set in the code.

Attributes

String for the user's home directory.

String for the user's home directory.

Attributes

Implicits

Implicits

final implicit def DirPathAbsExtensions(thisPath: DirsAbs): DirPathAbsExtensions