add toString method to GenericPropertyNode

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-08 12:18:48 +00:00
parent 5c8219c777
commit 189f4c0a09

View File

@ -30,5 +30,15 @@ public final class GenericPropertyNode
return (byte[])_buf; return (byte[])_buf;
} }
@Override
public String toString()
{
return "GenericPropertyNode ["
+ getStart()
+ "; "
+ getEnd()
+ ") "
+ ( getBytes() != null ? getBytes().length + " byte(s)"
: "null" );
}
} }