Revision 5918
Added by berkley almost 14 years ago
src/edu/ucsb/nceas/metacat/restservice/ResourceHandler.java | ||
---|---|---|
1615 | 1615 |
System.out.println("iterating through multipart files: " + keys); |
1616 | 1616 |
while(keys.hasNext()) |
1617 | 1617 |
{ |
1618 |
System.out.println("1"); |
|
1619 | 1618 |
String key = (String)keys.next(); |
1620 | 1619 |
System.out.println("files key: " + key); |
1621 | 1620 |
System.out.println("files value: " + files.get(key)); |
1622 | 1621 |
} |
1623 |
System.out.println("2"); |
|
1624 | 1622 |
|
1625 | 1623 |
Map<String, List<String>> params = mr.getMultipartParameters(); |
1626 |
System.out.println("3"); |
|
1627 | 1624 |
keys = params.keySet().iterator(); |
1628 |
System.out.println("4"); |
|
1629 | 1625 |
while(keys.hasNext()) |
1630 | 1626 |
{ |
1631 |
System.out.println("5"); |
|
1632 | 1627 |
String key = (String)keys.next(); |
1633 | 1628 |
System.out.println("params key: " + key); |
1634 | 1629 |
System.out.println("params value: " + params.get(key)); |
1635 | 1630 |
} |
1636 |
System.out.println("6"); |
|
1637 | 1631 |
File smFile = files.get("sysmeta"); |
1638 | 1632 |
System.out.println("smFile: " + smFile.getAbsolutePath()); |
1639 | 1633 |
sysmeta = new FileInputStream(smFile); |
Also available in: Unified diff
removed debug statements