Class TabFile
- java.lang.Object
- 
- com.google.gerrit.server.git.meta.TabFile
 
- 
- Direct Known Subclasses:
- DestinationList,- GroupList,- QueryList
 
 public class TabFile extends Object (De)serializer for tab-delimited text files.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceTabFile.Parserprotected static classTabFile.Row
 - 
Field SummaryFields Modifier and Type Field Description static TabFile.ParserTRIM
 - 
Constructor SummaryConstructors Constructor Description TabFile()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description protected static StringasText(String left, String right, List<TabFile.Row> rows)protected static StringasText(String left, String right, Map<String,String> entries)protected static Stringpad(int len, String src)protected static List<TabFile.Row>parse(String text, String filename, TabFile.Parser left, TabFile.Parser right, ValidationError.Sink errors)protected static <T extends Comparable<? super T>>
 com.google.common.collect.ImmutableList<T>sort(Collection<T> m)protected static Map<String,String>toMap(List<TabFile.Row> rows)
 
- 
- 
- 
Field Detail- 
TRIMpublic static final TabFile.Parser TRIM 
 
- 
 - 
Method Detail- 
parseprotected static List<TabFile.Row> parse(String text, String filename, TabFile.Parser left, TabFile.Parser right, ValidationError.Sink errors) throws IOException - Throws:
- IOException
 
 - 
toMapprotected static Map<String,String> toMap(List<TabFile.Row> rows) 
 - 
asTextprotected static String asText(String left, String right, List<TabFile.Row> rows) 
 - 
sortprotected static <T extends Comparable<? super T>> com.google.common.collect.ImmutableList<T> sort(Collection<T> m) 
 
- 
 
-