public class

TypeInfoProvider

extends Object
implements Iterable<T>
java.lang.Object
   ↳ com.pnfsoftware.jeb.client.script.TypeInfoProvider

Class Overview

Java type parser and provider used by the script interpreter.

This object can be used to parse files such $JEB_HOME/doc/jeb-types.txt to provide type hints to the script interpreter.

Summary

Public Constructors
TypeInfoProvider(File infofile)
Public Methods
TypeInfo findType(String simplename)
Find a type from its simple name.
TypeInfo findType(String simplename, boolean caseInsensitive)
Find a type from its simple name.
String findTypeName(String simplename)
Find the fully-qualified name of a type from its simple name.
String findTypeName(String simplename, boolean caseInsensitive)
Find the fully-qualified name of a type from its simple name.
TypeInfo get(String name)
Iterator<TypeInfo> iterator()
int size()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable

Public Constructors

public TypeInfoProvider (File infofile)

Throws
IOException

Public Methods

public TypeInfo findType (String simplename)

Find a type from its simple name.

Returns
  • null on a collision

public TypeInfo findType (String simplename, boolean caseInsensitive)

Find a type from its simple name. Case doesn't matter.@param

Returns
  • null on a collision

public String findTypeName (String simplename)

Find the fully-qualified name of a type from its simple name.

Returns
  • null on a collision

public String findTypeName (String simplename, boolean caseInsensitive)

Find the fully-qualified name of a type from its simple name. Case doesn't matter.@param

Returns
  • null on a collision

public TypeInfo get (String name)

public Iterator<TypeInfo> iterator ()

public int size ()