org.jpublish
Interface Content


public interface Content


Method Summary
 boolean isBinary()
          Return true if this content represents a binrary entity.
 java.lang.String toString()
          Return a String representation of the content.
 

Method Detail

isBinary

public boolean isBinary()
Return true if this content represents a binrary entity.
Returns:
True if the content is binary

toString

public java.lang.String toString()
Return a String representation of the content. If the content is text then this method should return the content text. If the content is binary then this method should return an appropriate URL for retrieving that binary content.
Overrides:
toString in class java.lang.Object
Returns:
A String representation of the content


Copyright (C) 2001 Anthony Eden. All Rights Reserved.