[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new feature request: RawData string property



Ciao Dan

I like the idea of abstracting the input, too.

How about only an InputStream for DataSource as the
input method. In addition, we can provide access to this
stream through getStream() method.

So, instead of

   public void		setURI (String sURI);
   public String	getURI ();

we would have

   public void		setStream (InputStream is);
   public InputStream	getStream ();

What does my favourite api-bloater say? :-)

Janne
--
Janne Saarela           | Visiting scientist
Email: jsaarela@w3.org  | World Wide Web Consortium http://www.w3.org/