2009年8月12日 - if you know the size, then java provides the code for you. see my answer or google for ...
stackoverflow.com