Skip to Content
0
Former Member
Jul 14, 2008 at 04:21 PM

problem after creating a method

19 Views

hi

private IWDCachedWebResource getCachedWebResource(byte[] file, String name,

WDWebResourceType type) {

IWDCachedWebResource cachedWebResource = null;

if (file != null) {

cachedWebResource = WDWebResource.getWebResource(file, type);

cachedWebResource.setResourceName(name);

}

return cachedWebResource;

}

i was trying to create above method , but during creation of the parameter for the method , i need to create byte[]

but iam not able to ,

can any one help me ,