exporting chunks of a file

hi there, how do i export a certain chunk of a file to many files
not sure how to add those lines into the code ...
[code]
// process file line by line
String line = inBuf.readLine();

while (line != null) {
// process line
...
// read next line
line = inBuf.readLine();
}
}
[/code]

things to export, those in bewteen the Part(bold) and the top header needs to be exported
[code]
[b]------=_Part_9_12864763.1115691979328[/b]
Content-Type: text/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.or

[b]------=_Part_9_12864763.1115691979328[/b]
<soap-env:Envelope
[/code]

Comments

  • it can be exported to any format, preferred is a text document ... the extracted portion doesnt have to be encrypted , just extracting ... and continue the process of extracting for the next batch of Parts ...

    for eg
    this line
    ------=_Part_9_12864763.1115691979 to
    xmlns:soap-env="http://schemas.xmlsoap.or

    all the contains will be inside 1 file ..

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion