org.decisiondeck.jmcda.persist.latex
Class LaTeXExporter
java.lang.Object
org.decisiondeck.jmcda.persist.utils.ExportSettings
org.decisiondeck.jmcda.persist.latex.LaTeXExporter
public class LaTeXExporter
- extends ExportSettings
| Methods inherited from class org.decisiondeck.jmcda.persist.utils.ExportSettings |
getAlternativesOrder, getAlternativesToString, getAlternativeString, getCategoriesToString, getCategoryString, getCriteriaOrder, getCriteriaToString, getCriterionString, getDmsOrder, getDmsToString, getDmString, getNumberFormatter, getNumberString, getNumberString, getProfilesOrder, getProfilesToString, getProfileString, interOrderAlternatives, interOrderCriteria, interOrderDms, interOrderProfiles, setAlternativesOrder, setAlternativesToString, setCategoriesToString, setCriteriaOrder, setCriteriaToString, setDmsOrder, setDmsToString, setNumberFormatter, setProfilesOrder, setProfilesToString |
LaTeXExporter
public LaTeXExporter(Writer writer)
- Parameters:
writer - not null.
LaTeXExporter
public LaTeXExporter(OutputSupplier<? extends Writer> destination)
- Parameters:
destination - not null.
getWriter
public BufferedWriter getWriter()
- Retrieves the writer this object uses. Writing to this writer is permitted and may be used to avoid interleaving
calls to this object and external writes with flushes. Note that the returned writer is not necessarily the
writer given by the user, e.g. because of possible buffering in between.
- Returns:
- not
null.
writeLn
public void writeLn(String string)
throws IOException
- Throws:
IOException
getShortTableLimit
public Integer getShortTableLimit()
- Returns:
null for no limit: always use a short table. If negative, will always use a long table.
setShortTableLimit
public void setShortTableLimit(Integer shortTableLimit)
- Sets the limit in number of rows after which this object will use a long table (if the number of rows is greater
than the provided limit) instead of a short one.
- Parameters:
shortTableLimit - null for no limit: always use a short table. If negative, will always use a long table.
exportEvaluations
public void exportEvaluations(IRdEvaluations evaluations)
throws IOException
- Throws:
IOException
exportAssignmentsWithCredibilities
public void exportAssignmentsWithCredibilities(IOrderedAssignmentsWithCredibilitiesRead assignments)
throws IOException
- Throws:
IOException
setDestination
public void setDestination(OutputSupplier<? extends Writer> destination)
exportAssignmentsToMultiple
public void exportAssignmentsToMultiple(IOrderedAssignmentsToMultipleRead assignments)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.