classpath

package
Version: v0.0.0-...-d1d7e88 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassFinder

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

func Parse

func Parse(jrePath, classpath string) *ClassFinder

func (*ClassFinder) ReadClass

func (classFinder *ClassFinder) ReadClass(className string) ([]byte, ClasspathEntry, error)

type ClasspathEntry

type ClasspathEntry interface {
	ReadClass(className string) ([]byte, ClasspathEntry, error)
	ToString() string
}

func NewClasspathEntry

func NewClasspathEntry(path string) ClasspathEntry

type CompositeClasspathEntry

type CompositeClasspathEntry []ClasspathEntry

func NewCompositeClasspathEntry

func NewCompositeClasspathEntry(pathList string) CompositeClasspathEntry

func NewWildcardClasspathEntry

func NewWildcardClasspathEntry(path string) CompositeClasspathEntry

func (CompositeClasspathEntry) ReadClass

func (compositeClasspathEntry CompositeClasspathEntry) ReadClass(className string) ([]byte, ClasspathEntry, error)

func (CompositeClasspathEntry) ToString

func (compositeClasspathEntry CompositeClasspathEntry) ToString() string

type DirectoryClasspathEntry

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

func NewDirectoryClasspathEntry

func NewDirectoryClasspathEntry(path string) DirectoryClasspathEntry

func (DirectoryClasspathEntry) ReadClass

func (directoryClasspathEntry DirectoryClasspathEntry) ReadClass(className string) ([]byte, ClasspathEntry, error)

func (DirectoryClasspathEntry) ToString

func (directoryClasspathEntry DirectoryClasspathEntry) ToString() string

type ZipClasspathEntry

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

func NewZipClasspathEntry

func NewZipClasspathEntry(path string) ZipClasspathEntry

func (ZipClasspathEntry) ReadClass

func (zipClasspathEntry ZipClasspathEntry) ReadClass(className string) ([]byte, ClasspathEntry, error)

func (ZipClasspathEntry) ToString

func (zipClasspathEntry ZipClasspathEntry) ToString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL