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

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

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

origin: nroduit/Weasis

  public static DicomDirWriter open(File file) throws IOException {
    if (file.createNewFile()) {
      DicomDirWriter.createEmptyDirectory(file, UIDUtils.createUID(), null, null, null);
    }
    return DicomDirWriter.open(file);
  }
}
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 openDicomDir() throws IOException {
  if (!dicomDir.exists())
    DicomDirWriter.createEmptyDirectory(dicomDir,
        UIDUtils.createUIDIfNull(fsInfo.getFilesetUID()),
        fsInfo.getFilesetID(),
        fsInfo.getDescriptorFile(), 
        fsInfo.getDescriptorFileCharset());
  ddReader = ddWriter = DicomDirWriter.open(dicomDir);
}
origin: org.dcm4che.tool/dcm4che-tool-dcmqrscp

private void openDicomDir() throws IOException {
  if (!dicomDir.exists())
    DicomDirWriter.createEmptyDirectory(dicomDir,
        UIDUtils.createUIDIfNull(fsInfo.getFilesetUID()),
        fsInfo.getFilesetID(),
        fsInfo.getDescriptorFile(), 
        fsInfo.getDescriptorFileCharset());
  ddReader = ddWriter = DicomDirWriter.open(dicomDir);
}
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: 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.mediaDicomDirWriteropen

Popular methods of DicomDirWriter

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

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • JFileChooser (javax.swing)
  • Top Sublime Text plugins
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