classpath

package
v0.0.0-...-2ded9d7 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Classpath

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

func Parse

func Parse(jreOption, cpOption string) *Classpath

func (*Classpath) ReadClass

func (self *Classpath) ReadClass(className string) ([]byte, Entry, error)

*

依次从启动类路径、扩展类路径和用户类路径中搜索class文件

func (*Classpath) String

func (self *Classpath) String() string

type CompositeEntry

type CompositeEntry []Entry

*

这是很多entry的集合,复合entry

func (CompositeEntry) String

func (self CompositeEntry) String() string

type DirEntry

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

func (*DirEntry) String

func (self *DirEntry) String() string

type Entry

type Entry interface {
	String() string
	// contains filtered or unexported methods
}

*

类路径的接口

type ZipEntry

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

func (*ZipEntry) String

func (self *ZipEntry) String() string

Jump to

Keyboard shortcuts

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