com.japisoft.dtdparser
Interface DTDMapper


public interface DTDMapper

Interface for using DTD in a non connected mode. It will convert an URL path by another one that could be local.

Version:
1.0
Author:
(c) 2003 JAPISoft

Method Summary
 java.io.InputStream getStream(java.lang.String url)
           
 boolean isCachedEnabled()
           
 java.io.File updateCache(RootDTDNode root, java.lang.String url)
           
 

Method Detail

getStream

public java.io.InputStream getStream(java.lang.String url)
                              throws java.io.IOException
Returns:
a stream for this DTD url
Throws:
java.lang.Exception - if the stream cannot be gotten
java.io.IOException

isCachedEnabled

public boolean isCachedEnabled()
Returns:
true if the DTD can be stored in a cache

updateCache

public java.io.File updateCache(RootDTDNode root,
                                java.lang.String url)
Returns:
the real path for this url


Copyright © 2006 JAPISoft. All Rights Reserved.