@Override public final InputStream getStream() { return getBlob().getStream(); } @Override
@Override public final String getMimeType() { return getBlob().getMimeType(); }
@Override public final InputStream getStream() { return getBlob().getStream(); } @Override
@Override public final String getMimeType() { return getBlob().getMimeType(); }
@Override public String toString() { return String.format("%s uri=[%s], content=[%s;mime-type:%s%s], metadata=[%s triples], " + "parts=%s", getClass().getSimpleName(), //the implementation getUri().getUnicodeString(), //the URI //the size in Bytes (if available) getBlob().getContentLength()>=0 ?("size:"+getBlob().getContentLength()+" bytes;") : "", getBlob().getMimeType(), //the mime-type //and parameter (if available) getBlob().getParameter().isEmpty() ? "" : (";parameter:"+getBlob().getParameter()), getMetadata().size(), //the number of triples parts.keySet()); //and the part URIs }
@Override public String toString() { return String.format("%s uri=[%s], content=[%s;mime-type:%s%s], metadata=[%s triples], " + "parts=%s", getClass().getSimpleName(), //the implementation getUri().getUnicodeString(), //the URI //the size in Bytes (if available) getBlob().getContentLength()>=0 ?("size:"+getBlob().getContentLength()+" bytes;") : "", getBlob().getMimeType(), //the mime-type //and parameter (if available) getBlob().getParameter().isEmpty() ? "" : (";parameter:"+getBlob().getParameter()), getMetadata().size(), //the number of triples parts.keySet()); //and the part URIs }