Tabnine Logo
IOD.load
Code IndexAdd Tabnine to your IDE (free)

How to use
load
method
in
org.dcm4che3.data.IOD

Best Java code snippets using org.dcm4che3.data.IOD.load (Showing top 4 results out of 315)

origin: dcm4che/dcm4che

  public IOD get(String uri) throws IOException {
    IOD iod = map.get(uri);
    if (iod == null)
      map.put(uri, iod = IOD.load(uri));
    return iod;
  }
}
origin: dcm4che/dcm4che

private static void configureIODs(MppsSCP main, CommandLine cl)
    throws IOException {
  if (!cl.hasOption("no-validate")) {
    main.setMppsNCreateIOD(IOD.load(
        cl.getOptionValue("mpps-ncreate-iod", 
            "resource:mpps-ncreate-iod.xml")));
    main.setMppsNSetIOD(IOD.load(
        cl.getOptionValue("mpps-nset-iod", 
            "resource:mpps-nset-iod.xml")));
  }
}
origin: dcm4che/dcm4che

@SuppressWarnings("unchecked")
public static void main(String[] args) {
  try {
    CommandLine cl = parseComandLine(args);
    DcmValidate main = new DcmValidate();
    String iodFile = cl.getOptionValue("iod");
    if (iodFile == null)
      throw new MissingOptionException(Arrays.asList("iod"));
    main.setIOD(IOD.load(iodFile));
    List<String> fnames = cl.getArgList();
    if (fnames.isEmpty())
      throw new ParseException(rb.getString("missing"));
    
    for (String fname : fnames)
      validate(main, new File(fname));
  } catch (ParseException e) {
    System.err.println("DcmValidate: " + e.getMessage());
    System.err.println(rb.getString("try"));
    System.exit(2);
  } catch (IOException e) {
    System.err.println("DcmValidate: " + e.getMessage());
    System.exit(2);
  }
}
origin: org.dcm4che.tool/dcm4che-tool-dcmvalidate

@SuppressWarnings("unchecked")
public static void main(String[] args) {
  try {
    CommandLine cl = parseComandLine(args);
    DcmValidate main = new DcmValidate();
    String iodFile = cl.getOptionValue("iod");
    if (iodFile == null)
      throw new MissingOptionException(Arrays.asList("iod"));
    main.setIOD(IOD.load(iodFile));
    List<String> fnames = cl.getArgList();
    if (fnames.isEmpty())
      throw new ParseException(rb.getString("missing"));
    
    for (String fname : fnames)
      validate(main, new File(fname));
  } catch (ParseException e) {
    System.err.println("DcmValidate: " + e.getMessage());
    System.err.println(rb.getString("try"));
    System.exit(2);
  } catch (IOException e) {
    System.err.println("DcmValidate: " + e.getMessage());
    System.exit(2);
  }
}
org.dcm4che3.dataIODload

Popular methods of IOD

  • <init>
  • add
  • get
  • getCondition
  • getLineNumber
  • getType
  • parse
  • setCondition
  • setLineNumber
  • setType
  • size
  • trimToSize
  • size,
  • trimToSize,
  • valueOf

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • IsNull (org.hamcrest.core)
    Is the value null?
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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