Author: bfoster
Date: Sat Apr 19 11:21:38 2014
New Revision: 1588640
URL: http://svn.apache.org/r1588640
Log:
- Added new GenericEmailParser
Modified:
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
Modified:
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
URL:
http://svn.apache.org/viewvc/oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java?rev=1588640&r1=1588639&r2=1588640&view=diff
==============================================================================
---
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
(original)
+++
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
Sat Apr 19 11:21:38 2014
@@ -83,10 +83,10 @@ public class GenericEmailParser implemen
List<String> filePaths = generateFilePaths(emailText);
for (String filePath : filePaths) {
- new VirtualFile(root, filePath, false);
+ new VirtualFile(root, pathToRoot + filePath, false);
}
- return new VirtualFileStructure(pathToRoot != null ? pathToRoot : "/",
root);
+ return new VirtualFileStructure("/", root);
}
private String readEmail(FileInputStream emailFile) {