diff --git a/build/classes/fr/devinsy/xid/FilePresenter.class b/build/classes/fr/devinsy/xid/FilePresenter.class index ef17491..2ae52cc 100644 Binary files a/build/classes/fr/devinsy/xid/FilePresenter.class and b/build/classes/fr/devinsy/xid/FilePresenter.class differ diff --git a/build/classes/fr/devinsy/xid/Presenter.class b/build/classes/fr/devinsy/xid/Presenter.class index cbfc430..5108013 100644 Binary files a/build/classes/fr/devinsy/xid/Presenter.class and b/build/classes/fr/devinsy/xid/Presenter.class differ diff --git a/src/fr/devinsy/xid/FilePresenter.java b/src/fr/devinsy/xid/FilePresenter.java index ceb9585..a3e4eda 100644 --- a/src/fr/devinsy/xid/FilePresenter.java +++ b/src/fr/devinsy/xid/FilePresenter.java @@ -143,4 +143,36 @@ public class FilePresenter extends DomPresenter // return (result); } + + + /* + * Xid a file without data. + */ + static public StringBuffer doXid2 (String filePathname) throws Exception + { + StringBuffer result; + + FilePresenter presenter = new FilePresenter (filePathname); + + result = presenter.doXid ((Data) null); + + // + return (result); + } + + + /* + * Xid a file. + */ + static public StringBuffer doXid (String filePathname, Data datas) throws Exception + { + StringBuffer result; + + FilePresenter presenter = new FilePresenter (filePathname); + + result = presenter.doXid (datas); + + // + return (result); + } } diff --git a/src/fr/devinsy/xid/Presenter.java b/src/fr/devinsy/xid/Presenter.java index af8162a..c12bf52 100644 --- a/src/fr/devinsy/xid/Presenter.java +++ b/src/fr/devinsy/xid/Presenter.java @@ -14,7 +14,6 @@ import org.w3c.dom.*; public class Presenter { static final public char INDEX_SEPARATOR = '_'; - static protected int bufferSize = 2048; static protected org.apache.log4j.Logger logger; static @@ -37,31 +36,6 @@ public class Presenter } - /* - * - */ - static public int bufferSize() - { - int result; - - result = bufferSize; - - // - return(result); - } - - - /* - * - */ - static public void setBufferSize(int value) - { - if (bufferSize > 0) - { - bufferSize = value; - } - } - /* * */