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 do not have methods, as they are not objects in Java. You should use the matching class:
Integer.toString(item.getId());