ruper2/src/java/core/org/krysalis/ruper2/api FileAPI.java,1.3,1.4

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/api
In directory sc8-pr-cvs1:/tmp/cvs-serv25339/src/java/core/org/krysalis/ruper2/api

Modified Files:
	FileAPI.java 
Log Message:
Opps, did it for HTTP input but not File input. Added that.

Index: FileAPI.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/api/FileAPI.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FileAPI.java	9 Oct 2003 16:02:22 -0000	1.3
--- FileAPI.java	9 Oct 2003 21:14:59 -0000	1.4
***************
*** 41,45 ****
  		m_analyzer =
  			new DefaultResourceFilenameAnalyzer(
! 				new VirtualResourceLocator(baseFile));
  
  		m_baseFile = baseFile;
--- 41,45 ----
  		m_analyzer =
  			new DefaultResourceFilenameAnalyzer(
! 				new VirtualResourceLocator(ResolvedFile.resolve(baseFile)));
  
  		m_baseFile = baseFile;
***************
*** 54,58 ****
  	 * @return
  	 */
! 	public File resolveFile(Object file) {
  		return ResolvedFile.resolve(m_baseFile, file);
  	}
--- 54,58 ----
  	 * @return
  	 */
! 	public ResolvedFile resolveFile(Object file) {
  		return ResolvedFile.resolve(m_baseFile, file);
  	}




-------------------------------------------------------
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.