public class

UnitFormatterUtil

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.output.UnitFormatterUtil

Class Overview

Utility methods for unit formatters.

Summary

Public Constructors
UnitFormatterUtil()
Public Methods
static void addAllPresentations(IUnitFormatter formatter, Collection<IUnitDocumentPresentation> presentations, boolean persisted)
Append a collection of presentations to the provided formatter.
static IUnitDocumentPresentation getPresentationByDocument(IUnitFormatter formatter, IGenericDocument doc)
Retrieve a presentation by document.
static IUnitDocumentPresentation getPresentationByIdentifier(IUnitFormatter formatter, long id)
Retrieve a presentation by document identifier.
static IUnitDocumentPresentation getPresentationByName(IUnitFormatter formatter, String documentLabel)
Retrieve a presentation by document label.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UnitFormatterUtil ()

Public Methods

public static void addAllPresentations (IUnitFormatter formatter, Collection<IUnitDocumentPresentation> presentations, boolean persisted)

Append a collection of presentations to the provided formatter.

public static IUnitDocumentPresentation getPresentationByDocument (IUnitFormatter formatter, IGenericDocument doc)

Retrieve a presentation by document.

public static IUnitDocumentPresentation getPresentationByIdentifier (IUnitFormatter formatter, long id)

Retrieve a presentation by document identifier.

public static IUnitDocumentPresentation getPresentationByName (IUnitFormatter formatter, String documentLabel)

Retrieve a presentation by document label.