org.apache.http.util
Class EntityUtils
java.lang.Object
org.apache.http.util.EntityUtils
public final class EntityUtils
- extends java.lang.Object
Static helpers for dealing with entities
.
- Since:
- 4.0
- Version:
- $Revision: 569637 $
- Author:
- Oleg Kalnichevski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toByteArray
public static byte[] toByteArray(HttpEntity entity)
throws java.io.IOException
- Throws:
java.io.IOException
getContentCharSet
public static java.lang.String getContentCharSet(HttpEntity entity)
throws ParseException
- Throws:
ParseException
toString
public static java.lang.String toString(HttpEntity entity,
java.lang.String defaultCharset)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException
toString
public static java.lang.String toString(HttpEntity entity)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.