Operation |
Details |
public createRISPairByString( String line):Pair |
Sequential Notes: | get a pair from line string (by regex string) @param string - RIS 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 getItemFromString( String string, String patternString):List |
Sequential Notes: | identifies item lines from input string and stores it in a List<String> @return | |
public getItemListFromString( String string, String pattern):String |
Sequential Notes: | identifies RIS items from input string and stores it in an String Array @return | |
public getItemPairs( List lines):List |
Sequential Notes: | get item pairs from item string (by regex string) @param string - RIS 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 RISImport(): |
Sequential Notes: | Public Constructor RISImport. | |
public transformItemListToXML( 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 | |
public transformRIS2XML( String file):String |
Sequential Notes: | reads the import file and transforms the items to XML @return xml | |