Examples of IFaviconSupport


Examples of org.rssowl.core.model.IFaviconSupport

  public Object getAdapter(Object adaptableObject, Class adapterType) {

    /* IFeed supports Favicons */
    if (IFaviconSupport.class.equals(adapterType) && adaptableObject instanceof IFeed) {
      final IFeed feed = (IFeed) adaptableObject;
      return new IFaviconSupport() {
        public byte[] getFavicon() {
          Object property = feed.getProperty(KEY_FAVICON);
          if (property != null && property instanceof byte[])
            return (byte[]) property;

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.