rendered paste body public void getRenditions()
throws Exception
{
String uuid = "64:10150530-723CD-C1180-38000-000000000";
AssetManager am = Connector.getAssetManager();
List result = am.getRenditions(this.m_userAuth, uuid);
Iterator iter = result.iterator();
System.out.println("All Renditions:");
while(iter.hasNext()) {
RenditionInfo ri = (RenditionInfo)iter.next();
System.out.println(ri.getDisplayName() + " : " + ri.getScale() + " : " + ri.getMimeType());
}
result = am.getRenditions(this.m_userAuth, uuid, "thumb", null, false);
iter = result.iterator();
System.out.println("Thumb Renditions:");
while(iter.hasNext()) {
RenditionInfo ri = (RenditionInfo)iter.next();
System.out.println(ri.getDisplayName() + " : " + ri.getScale() + " : " + ri.getMimeType());
}
}