Basically, what I\'m trying to do, is get the item ID, and set a price from a ini, basically like: itemid:price but, i cannot simply do item.getId().toString(). I\'m trying to g
Primitive types (int, double, byte etc..) can't have methods. So use this :
String itemId = String.valueOf(item.getId());