java

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jar

type Jar struct {
	Name     string
	Contents []byte
}

type Java

type Java struct {
	// contains filtered or unexported fields
}

func New

func New(className string, classPath ...Jar) *Java

func (*Java) Compile

func (j *Java) Compile(s language.Sandbox, r language.File, w io.Writer, e io.Writer, extras []language.File) error

func (*Java) DefaultFileName

func (j *Java) DefaultFileName() string

func (*Java) Id

func (*Java) Id() string

func (*Java) InsecureCompile

func (*Java) InsecureCompile(wd string, r io.Reader, w io.Writer, e io.Writer) error

func (*Java) Name

func (*Java) Name() string

func (*Java) Run

func (j *Java) Run(s language.Sandbox, binary, stdin io.Reader, stdout io.Writer, tl time.Duration, ml int) (language.Status, error)

func (*Java) Test

func (j *Java) Test(s language.Sandbox) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL