Operation |
Details |
public static checkLen( String val):boolean |
Sequential |
public static checkVal( String val):boolean |
Sequential |
public createEndNotePairByString( String line):Pair |
Sequential Notes: | get a EndNote <code>Pair</code> from line string @param string - EndNote line as string @return Pair - key-value pair created by string line | |
public createXMLElement( String tag, String value):String |
Sequential Notes: | creates a single element in xml @return xml element as string | |
public escape( String input):String |
Sequential Notes: | escapes special characters @return string with escaped characters | |
public getItemPairs( List lines):List |
Sequential Notes: | get item pairs from item string and pack them into the <code>List</code> @param string - EndNote item as string @return String list with item key-value pairs | |
public readFile():String |
Sequential Notes: | reads the file and stores it in a string @return List<String> with file lines | |
public splitItemElements( String itemStr):List |
Sequential Notes: | Splits EndNote fields of an item and puts them into List<String> @return | |
public splitItems( String itemsStr):List |
Sequential Notes: | Splits EndNote items and puts them into List<String> @return | |
public transformEndNote2XML( String file):String |
Sequential Notes: | reads the import file and transforms the items to XML @return xml | |
public transformItemPairsListToXML( List> itemList):String |
Sequential Notes: | creates the complete item list in xml @param item pair list @return xml string of the whole item list | |
public transformItemSubelementsToXML( List item):String |
Sequential Notes: | creates an xml string of the item pair list @return xml String | |
public transformItemToXML( List item):String |
Sequential Notes: | creates a single item in xml @return xml string of the whole item list | |