public class HelpPageGenerator extends Object
The HelpPageGenerator generates a help page (a String) for a class or a method.
Modifier and Type | Field and Description |
---|---|
static String |
DOUBLE_LINES |
static String |
INDENT |
static String |
PREFIX |
static String |
PREFIX_INDENT |
static String |
PREFIX_SEPARATOR |
static String |
SEPARATOR |
Constructor and Description |
---|
HelpPageGenerator() |
Modifier and Type | Method and Description |
---|---|
static String |
getHelpPage(Py4JClass clazz,
String pattern,
boolean shortName) |
static String |
getHelpPage(Py4JMethod method,
boolean shortName) |
static Pattern |
getRegex(String pattern) |
public static final String PREFIX
public static final String INDENT
public static final String PREFIX_INDENT
public static final String DOUBLE_LINES
public static final String SEPARATOR
public static final String PREFIX_SEPARATOR
public static final String getHelpPage(Py4JClass clazz, String pattern, boolean shortName)
clazz
- pattern
- Star pattern.shortName
- public static final String getHelpPage(Py4JMethod method, boolean shortName)