if (StringUtil.isEmpty(zip)) {
throw new ProtocolException("invalid zip: " + zip);
}
try {
USZipArea zipArea = _objectFact.createUSZipArea();
zipArea.setZipPattern(zip);
return zipArea;
} catch (JAXBException jaxbEx) {
throw new ProtocolException(jaxbEx.getMessage());
}
}