How to load part of a file

View: New views
2 Messages — Rating Filter:   Alert me  

How to load part of a file

by Md. Jahidul Hasan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I have a text file with few blocks in it.

----------------------------------
Block 1 :
    Some text
Block 2 :
    Some text
Block 3 :
    Some text
----------------------------------


How I can read the file from Block 2 to end of the file ?

Br
Jahid





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: How to load part of a file

by Gilbert Rebhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Md. Jahidul Hasan schrieb:

> Hi,
> I have a text file with few blocks in it.
>
> ----------------------------------
> Block 1 :
>     Some text
> Block 2 :
>     Some text
> Block 3 :
>     Some text
> ----------------------------------
>
>
> How I can read the file from Block 2 to end of the file ?

see AntManual, filterchains / filterreaders =
http://ant.apache.org/manual/CoreTypes/filterchain.html

Regards, Gilbert






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...