Re: File Handling and Buffer Handling

2010-09-02 Thread Michael Gentry
You may need/want to add a -Djava.awt.headless=true to your startup, too. mrg On Wed, Sep 1, 2010 at 11:35 PM, Charith Madusanka wrote: > Hi Thiago!, > > I also use java.awt.Rectangle, java.awt.image.BufferedImage  packages for my > code ... is it ok? > > charith > > On Wed, Sep 1, 2010 at 6:36

Re: File Handling and Buffer Handling

2010-09-01 Thread Thiago H. de Paula Figueiredo
On Thu, 02 Sep 2010 00:35:18 -0300, Charith Madusanka wrote: Hi Thiago!, Hi! I also use java.awt.Rectangle, java.awt.image.BufferedImage packages for my code ... is it ok? As long as you're dealing with images, it is ok. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapes

Re: File Handling and Buffer Handling

2010-09-01 Thread Charith Madusanka
Hi Thiago!, I also use java.awt.Rectangle, java.awt.image.BufferedImage packages for my code ... is it ok? charith On Wed, Sep 1, 2010 at 6:36 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 01 Sep 2010 10:04:42 -0300, Charith Madusanka < > charithc...@gmail.com> wrote

Re: File Handling and Buffer Handling

2010-09-01 Thread Thiago H. de Paula Figueiredo
On Wed, 01 Sep 2010 10:04:42 -0300, Charith Madusanka wrote: Hi Thiago! Hi! Thank your comment. http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html using this class is ok? Yes. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate co

Re: File Handling and Buffer Handling

2010-09-01 Thread Charith Madusanka
Hi Thiago! > You don't really need file handling nor buffer handling classes in > Tapestry: just use the Java ones. Anyway, you don't need to worry with files > nor buffering in your component: handle files in memory only. Make your > component receive the PDF file to be rendered as an InputStrea

Re: File Handling and Buffer Handling

2010-08-31 Thread Thiago H. de Paula Figueiredo
On Tue, 31 Aug 2010 23:02:06 -0300, Charith Madusanka wrote: Hi Thiago! Hi, Charith! I want to render pdf file to images. I'm working with https://pdf-renderer.dev.java.net/ library therefore I need File Handling and Buffer Handling classes in T5 API. You don't really

Re: File Handling and Buffer Handling

2010-08-31 Thread Charith Madusanka
ry therefore I need File Handling and Buffer Handling classes in T5 API. charith

Re: File Handling and Buffer Handling

2010-08-30 Thread Thiago H. de Paula Figueiredo
On Sun, 29 Aug 2010 11:22:03 -0300, Charith Madusanka wrote: Hi Donny, Hi! I want to do randomly access a file and I was already use java.io.RandomAccessFile class . I'm looking T5 class ... I think your comment help to me. Why do you need random access in a file for? Tapestry-Core

Re: File Handling and Buffer Handling

2010-08-29 Thread Charith Madusanka
apestry, you need to change the > return type of your method to > > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/StreamResponse.html > and you can stream whatever you like. > > On Sun, Aug 29, 2010 at 5:19 AM, Charith Madusanka > wrote: > > Hi! > >

Re: File Handling and Buffer Handling

2010-08-29 Thread Donny Nadolny
> In T5 API,  Is there any File Handling and Buffer Handling >  classes...? > > charith > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

File Handling and Buffer Handling

2010-08-29 Thread Charith Madusanka
Hi! In T5 API, Is there any File Handling and Buffer Handling classes...? charith