Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/files
In directory sc8-pr-cvs1:/tmp/cvs-serv25339/src/java/core/org/krysalis/ruper2/files
Modified Files:
DefaultResourceFilenameAnalyzer.java
DefaultResourceGroupFilenameAnalyzer.java
Log Message:
Opps, did it for HTTP input but not File input. Added that.
Index: DefaultResourceFilenameAnalyzer.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/files/DefaultResourceFilenameAnalyzer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** DefaultResourceFilenameAnalyzer.java 9 Oct 2003 20:30:27 -0000 1.7
--- DefaultResourceFilenameAnalyzer.java 9 Oct 2003 21:15:01 -0000 1.8
***************
*** 21,24 ****
--- 21,25 ----
import org.krysalis.ruper2.resource.ResourceType;
import org.krysalis.ruper2.util.RuperConstants;
+ import org.krysalis.ruper2.util.io.ResolvedFile;
import org.krysalis.ruper2.util.net.VirtualResourceLocator;
import org.krysalis.ruper2.util.text.MessageConstants;
***************
*** 142,146 ****
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((File) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
--- 143,147 ----
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((ResolvedFile) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
***************
*** 178,182 ****
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((File) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
--- 179,183 ----
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((ResolvedFile) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
***************
*** 216,220 ****
}
! void processFile(File resource, ResourceWorkingStore store)
throws RuperException {
--- 217,221 ----
}
! void processFile(ResolvedFile resource, ResourceWorkingStore store)
throws RuperException {
Index: DefaultResourceGroupFilenameAnalyzer.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/files/DefaultResourceGroupFilenameAnalyzer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** DefaultResourceGroupFilenameAnalyzer.java 9 Oct 2003 20:30:27 -0000 1.4
--- DefaultResourceGroupFilenameAnalyzer.java 9 Oct 2003 21:15:01 -0000 1.5
***************
*** 13,16 ****
--- 13,17 ----
import org.krysalis.ruper2.monitor.Monitor;
import org.krysalis.ruper2.resource.ResourceGroup;
+ import org.krysalis.ruper2.util.io.ResolvedFile;
import org.krysalis.ruper2.util.net.VirtualResourceLocator;
import org.krysalis.ruper2.util.text.MessageConstants;
***************
*** 48,52 ****
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((File) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
--- 49,53 ----
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((ResolvedFile) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
***************
*** 83,87 ****
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((File) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
--- 84,88 ----
processVRL((VirtualResourceLocator) entity, store);
else if (entity instanceof File)
! processFile((ResolvedFile) entity, store);
//
// Hmm VFS? How utilize yet be separate? Maybe String...
***************
*** 117,121 ****
}
! void processFile(File group, List store) throws RuperException {
String name = group.getName().toString();
int sepPosn = name.lastIndexOf(File.pathSeparator);
--- 118,122 ----
}
! void processFile(ResolvedFile group, List store) throws RuperException {
String name = group.getName().toString();
int sepPosn = name.lastIndexOf(File.pathSeparator);
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.