return(new StringReader((String)transferable.getTransferData(this)));
return new StringReader((String)transferable.getTransferData(this));
public Reader getReaderForText(Transferable transferable)  throws UnsupportedFlavorException, IOException{    if (!transferable.isDataFlavorSupported(this))        throw new UnsupportedFlavorException(this);    if (Reader.class.isAssignableFrom(representationClass))        return((Reader)transferable.getTransferData(this));    if (String.class.isAssignableFrom(representationClass))        return(new StringReader((String)transferable.getTransferData(this)));    if (InputStream.class.isAssignableFrom(representationClass)        && "text".equals(getPrimaryType()))      {        InputStream in = (InputStream)transferable.getTransferData(this);        String encoding = getParameter("charset");        if (encoding == null)            encoding = "us-ascii";        return(new InputStreamReader(in, encoding));      }    throw new UnsupportedFlavorException(this);}