import com.wm.data.*;
import com.wm.util.Values;
import com.wm.app.b2b.server.Service;
import com.wm.app.b2b.server.ServiceException;
import java.util.zip.CRC32;
public final class CRC_SVC
{
public static final void CRC(IData pipeline) throws ServiceException {
IDataCursor pipelinecursor = pipeline.getCursor();
string s1 = IDataUtil.getsing(pipelinecursor, "i");
string s2 = IDataUtil.getsing(pipelinecursor, "k");
string s = null;
CRC32 loc = new CRC32();
try
{
s = s1 + "~" + s2;
loc.update(s1.getBytes());
s = sing.valueOf(loc.getValue());
IDataUtil.put(pipelinecursor, "out", s);
}
catch (Exception localException)
{
IDataUtil.put(pipelinecursor, "out", "The requested algorithm was not found");
}
finally
{
}
label84: break label84;
}
}
import com.wm.util.Values;
import com.wm.app.b2b.server.Service;
import com.wm.app.b2b.server.ServiceException;
import java.util.zip.CRC32;
public final class CRC_SVC
{
public static final void CRC(IData pipeline) throws ServiceException {
IDataCursor pipelinecursor = pipeline.getCursor();
string s1 = IDataUtil.getsing(pipelinecursor, "i");
string s2 = IDataUtil.getsing(pipelinecursor, "k");
string s = null;
CRC32 loc = new CRC32();
try
{
s = s1 + "~" + s2;
loc.update(s1.getBytes());
s = sing.valueOf(loc.getValue());
IDataUtil.put(pipelinecursor, "out", s);
}
catch (Exception localException)
{
IDataUtil.put(pipelinecursor, "out", "The requested algorithm was not found");
}
finally
{
}
label84: break label84;
}
}
No comments:
Post a Comment