public class InternalFormat
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
InternalFormat.Formatter |
A class that provides the base for implementations of type-specific formatting.
|
static class |
InternalFormat.Spec |
Parsed PEP-3101 format specification of a single field, encapsulating the format for use by
formatting methods.
|
Constructor | Description |
---|---|
InternalFormat() |
Modifier and Type | Method | Description |
---|---|---|
static InternalFormat.Spec |
fromText(java.lang.String text) |
Create a
InternalFormat.Spec object by parsing a format specification. |
static InternalFormat.Spec |
fromText(PyObject text,
java.lang.String method) |
Create a
InternalFormat.Spec object by parsing a format specification, supplied as an object. |
public static InternalFormat.Spec fromText(java.lang.String text)
InternalFormat.Spec
object by parsing a format specification.text
- to parsepublic static InternalFormat.Spec fromText(PyObject text, java.lang.String method)
InternalFormat.Spec
object by parsing a format specification, supplied as an object.text
- to parse