Tabnine Logo
DicomDirWriter.setEncodingOptions
Code IndexAdd Tabnine to your IDE (free)

How to use
setEncodingOptions
method
in
org.dcm4che3.media.DicomDirWriter

Best Java code snippets using org.dcm4che3.media.DicomDirWriter.setEncodingOptions (Showing top 5 results out of 315)

origin: dcm4che/dcm4che

private void open(File file) throws IOException {
  this.file = file;
  in = out = DicomDirWriter.open(file);
  if (!origSeqLength)
    out.setEncodingOptions(encOpts);
  setCheckDuplicate(true);
}
origin: org.dcm4che.tool/dcm4che-tool-dcmdir

private void open(File file) throws IOException {
  this.file = file;
  in = out = DicomDirWriter.open(file);
  if (!origSeqLength)
    out.setEncodingOptions(encOpts);
  setCheckDuplicate(true);
}
origin: dcm4che/dcm4che

private void create(File file) throws IOException {
  this.file = file;
  DicomDirWriter.createEmptyDirectory(file,
      UIDUtils.createUIDIfNull(fsInfo.getFilesetUID()),
      fsInfo.getFilesetID(),
      fsInfo.getDescriptorFile(),
      fsInfo.getDescriptorFileCharset());
  in = out = DicomDirWriter.open(file);
  out.setEncodingOptions(encOpts);
  setCheckDuplicate(false);
}
origin: dcm4che/dcm4che

private DicomDirWriter(File file) throws IOException {
  super(file, "rw");
  out = new DicomOutputStream(new RAFOutputStreamAdapter(raf),
      super.getTransferSyntaxUID());
  int seqLen = in.length();
  boolean undefSeqLen = seqLen <= 0;
  setEncodingOptions(
      new DicomEncodingOptions(false, 
          undefSeqLen,
          false,
          undefSeqLen,
          false));
  this.nextRecordPos = this.firstRecordPos = (int) in.getPosition();
  if (!isEmpty()) {
    if (seqLen > 0)
      this.nextRecordPos += seqLen;
    else
      this.nextRecordPos = (int) (raf.length() - 12); 
  }
  updateDirInfoHeader();
}
origin: org.dcm4che.tool/dcm4che-tool-dcmdir

private void create(File file) throws IOException {
  this.file = file;
  DicomDirWriter.createEmptyDirectory(file,
      UIDUtils.createUIDIfNull(fsInfo.getFilesetUID()),
      fsInfo.getFilesetID(),
      fsInfo.getDescriptorFile(),
      fsInfo.getDescriptorFileCharset());
  in = out = DicomDirWriter.open(file);
  out.setEncodingOptions(encOpts);
  setCheckDuplicate(false);
}
org.dcm4che3.mediaDicomDirWritersetEncodingOptions

Popular methods of DicomDirWriter

  • addLowerDirectoryRecord
  • addRootDirectoryRecord
  • createEmptyDirectory
  • toFileIDs
  • commit
  • open
  • deleteRecord
  • findLowerInstanceRecord
  • findPatientRecord
  • findSeriesRecord
  • findStudyRecord
  • purge
  • findStudyRecord,
  • purge,
  • <init>,
  • addRecord,
  • clearCache,
  • close,
  • createFileSetInformation,
  • findFirstRootDirectoryRecordInUse,
  • findLastLowerDirectoryRecord

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now