Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutomaticModule ¶
type AutomaticModule struct {
BaseModule
}
JAR without module-info.class
func NewAutomaticModule ¶
func NewAutomaticModule(path string) *AutomaticModule
type BaseModule ¶
type BaseModule struct {
// contains filtered or unexported fields
}
func (*BaseModule) GetInfo ¶
func (bm *BaseModule) GetInfo() *Info
func (*BaseModule) GetName ¶
func (bm *BaseModule) GetName() string
func (*BaseModule) GetVersion ¶
func (bm *BaseModule) GetVersion() string
type ExplodedModule ¶
type ExplodedModule struct {
BaseModule
// contains filtered or unexported fields
}
func NewExplodedModule ¶
func NewExplodedModule(path string) *ExplodedModule
type Info ¶
type Info struct {
Name string
Flags uint16
Version string
Requires []Require
Exports []Export
Opens []Open
Uses []string
Provides []Provide
}
func ParseModuleInfo ¶
type JModModule ¶
type JModModule struct {
BaseModule
// contains filtered or unexported fields
}
func NewJModModule ¶
func NewJModModule(path string) *JModModule
type ModularJAR ¶
type ModularJAR struct {
BaseModule
// contains filtered or unexported fields
}
JAR with module-info.class
func NewModularJAR ¶
func NewModularJAR(path string) *ModularJAR
type Module ¶
type Module interface {
GetInfo() *Info
GetName() string
GetVersion() string
ReadClass(className string) ([]byte, error)
}
TODO
type UnnamedModule ¶
type UnnamedModule struct {
BaseModule
}
Click to show internal directories.
Click to hide internal directories.