Codota Logo
ExportedDocumentImpl.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.nuxeo.ecm.core.io.impl.ExportedDocumentImpl
constructor

Best Java code snippets using org.nuxeo.ecm.core.io.impl.ExportedDocumentImpl.<init> (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.nuxeo.ecm.core/nuxeo-core-io

@Override
public ExportedDocument read() throws IOException {
  if (doc != null) {
    if (readDone && !enableRepeatedReads) {
      return null;
    } else {
      readDone = true;
      return new ExportedDocumentImpl(doc);
    }
  }
  doc = null;
  return null;
}
origin: org.nuxeo.ecm.core/nuxeo-core-io

@Override
public ExportedDocument read() throws IOException {
  if (iterator.hasNext()) {
    DocumentModel docModel = iterator.next();
    return new ExportedDocumentImpl(docModel, inlineBlobs);
  }
  return null;
}
origin: org.nuxeo.ecm.platform/nuxeo-platform-io-client

@Override
public ExportedDocument read() throws IOException {
  if (docList == null || docList.isEmpty()) {
    return null;
  }
  return new ExportedDocumentImpl(docList.remove(0));
}
origin: org.nuxeo.ecm.platform/nuxeo-apidoc-core

@Override
public ExportedDocument read() throws IOException {
  if (docList == null || docList.isEmpty()) {
    return null;
  }
  return new ExportedDocumentImpl(docList.remove(0));
}
origin: org.nuxeo.ecm.core/nuxeo-core-io

@Override
public ExportedDocument read() throws IOException {
  if (iterator.hasNext()) {
    DocumentModel docModel = iterator.next();
    if (pathSegmentsToRemove > 0) {
      // remove unwanted leading segments
      return new ExportedDocumentImpl(docModel, docModel.getPath().removeFirstSegments(pathSegmentsToRemove),
          inlineBlobs);
    } else {
      return new ExportedDocumentImpl(docModel, inlineBlobs);
    }
  }
  return null;
}
origin: org.nuxeo.ecm.core/nuxeo-core-io

private ExportedDocument createDocument(ZipEntry dirEntry) throws IOException {
  ExportedDocument xdoc = new ExportedDocumentImpl();
  String dirPath = dirEntry.getName();
  // TODO -> some processing on the path?
  xdoc.setPath(new Path(dirPath).removeTrailingSeparator());
  // read the main document
  ZipEntry entry = zip.getEntry(dirPath + ExportConstants.DOCUMENT_FILE);
  InputStream in = zip.getInputStream(entry);
  try {
    Document doc = readXML(in);
    doc.setDocument(doc);
  } finally {
    in.close();
  }
  return null;
}
origin: org.nuxeo.ecm.core/nuxeo-core-io

    ExportedDocument xdoc = new ExportedDocumentImpl();
    xdoc.setPath(new Path("/"));
    xdoc.setDocument(loadXML(entry));
ExportedDocument xdoc = new ExportedDocumentImpl();
xdoc.setPath(new Path(name).removeTrailingSeparator());
for (int i = 0; i < count; i++) {
origin: org.nuxeo.ecm.core/nuxeo-core-io

    ExportedDocument xdoc = new ExportedDocumentImpl();
    xdoc.setPath(new Path("/"));
    xdoc.setDocument(loadXML(entry));
ExportedDocument xdoc = new ExportedDocumentImpl();
xdoc.setPath(new Path(name).removeTrailingSeparator());
for (String childEntryName : childEntries) {
origin: org.nuxeo.ecm.core/nuxeo-core-io

ExportedDocument xdoc = new ExportedDocumentImpl();
for (File file : dir.listFiles()) {
  if (file.isFile()) {
origin: org.nuxeo.ecm.core/nuxeo-core-io

if (pathSegmentsToRemove > 0) {
  result = new ExportedDocumentImpl(docModel,
      docModel.getPath().removeFirstSegments(pathSegmentsToRemove), inlineBlobs);
} else {
  result = new ExportedDocumentImpl(docModel, inlineBlobs);
org.nuxeo.ecm.core.io.implExportedDocumentImpl<init>

Popular methods of ExportedDocumentImpl

  • getDocument
  • readACP
  • readBlob
  • readComplex
  • readDocument
  • readDocumentSchemas
  • readFacets
  • readLifeCycleInfo
  • readList
  • readProperty
  • setPath
  • setPath

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Notification (javax.management)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now