no.sesat.search.view
Class ImportPublish

java.lang.Object
  extended by no.sesat.search.view.ImportPublish

public final class ImportPublish
extends Object

General support to import page fragments from publishing system. Caches content on a one minute basis to reduce outbound socket connections.

Version:
$Id: ImportPublish.java 7225 2009-04-09 00:32:20Z ssmiweve $

Method Summary
static String importPage(String page, DataModel datamodel)
           
static Document importXml(String page, DataModel datamodel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

importPage

public static String importPage(String page,
                                DataModel datamodel)
                         throws IOException
Parameters:
page -
datamodel -
Returns:
Throws:
IOException

importXml

public static Document importXml(String page,
                                 DataModel datamodel)
                          throws IOException,
                                 ParserConfigurationException,
                                 SAXException
Parameters:
page -
datamodel -
Returns:
Throws:
IOException
ParserConfigurationException
SAXException


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.