Class ReportedException.Section
- java.lang.Object
-
- org.openstreetmap.josm.tools.bugreport.ReportedException.Section
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ReportedException
private static class ReportedException.Section extends java.lang.Object implements java.io.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.ArrayList<ReportedException.SectionEntry>
entries
private java.lang.String
sectionName
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description Section(java.lang.String sectionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printSection(java.io.PrintWriter out)
Prints this section to the output stream.void
put(java.lang.String key, java.lang.String value)
Add a key/value entry to this section.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
sectionName
private final java.lang.String sectionName
-
entries
private final java.util.ArrayList<ReportedException.SectionEntry> entries
-
-
Constructor Detail
-
Section
Section(java.lang.String sectionName)
-
-
Method Detail
-
put
public void put(java.lang.String key, java.lang.String value)
Add a key/value entry to this section.- Parameters:
key
- The key. Need not be unique.value
- The value.
-
printSection
public void printSection(java.io.PrintWriter out)
Prints this section to the output stream.- Parameters:
out
- The stream to print to.
-
-