}
public void printMessage(String part) throws IOException {
System.out.println(part);
ByteArrayInputStream is = new ByteArrayInputStream(part.getBytes());
MultiPartParser mpp = new MultiPartParser(is, boundery);
System.out.println("=========== BEGINE ==================");
while (mpp.nextPart()) {
System.out.println("=========== PART ==================");
printHeaders(mpp.getPartHeaders());
InputStream partStream = mpp.getPartBodyStream();
printIS(partStream);
}
System.out.println("=========== END ==================");
int i = 0;
}