Codota Logo
UIDUtils.createUID
Code IndexAdd Codota to your IDE (free)

How to use
createUID
method
in
org.dcm4che2.util.UIDUtils

Best Java code snippets using org.dcm4che2.util.UIDUtils.createUID (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: dcm4che/dcm4che-core

@Override
protected String getSOPInstanceUID() {
  return UIDUtils.createUID();
}
origin: bioinformatics-ua/dicoogle

public boolean commit() {
  DicomObject actionInfo = new BasicDicomObject();
  actionInfo.putString(Tag.TransactionUID, VR.UI, UIDUtils.createUID());
origin: bioinformatics-ua/dicoogle

public boolean commit() {
  DicomObject actionInfo = new BasicDicomObject();
  actionInfo.putString(Tag.TransactionUID, VR.UI, UIDUtils.createUID());
origin: dcm4che/dcm4che-net

public void ncreate(Association as, int pcid, DicomObject rq,
    DicomObject data) throws DicomServiceException, IOException {
  DicomObject rsp = CommandUtils.mkRSP(rq, CommandUtils.SUCCESS);
  String iuid = rq.getString(Tag.AffectedSOPInstanceUID);
  if (iuid == null) {
    iuid = UIDUtils.createUID();
    rq.putString(Tag.AffectedSOPInstanceUID, VR.UI, iuid);
    rsp.putString(Tag.AffectedSOPInstanceUID, VR.UI, iuid);
  }
  as.writeDimseRSP(pcid, rsp, doNCreate(as, pcid, rq, data, rsp));
}
origin: dcm4che/dcm4che-imageio

/**
 * Get a default set of DICOM data to use in the stream meta-data.
 */
@Override
public IIOMetadata getDefaultStreamMetadata(ImageWriteParam arg0) {
  DicomStreamMetaData ret = new DicomStreamMetaData();
  DicomObject dobj = new BasicDicomObject();
  ret.setDicomObject(dobj);
  Date now = new Date();
  dobj.putString(Tag.TransferSyntaxUID, VR.UI, UID.JPEGBaseline1);
  dobj.putString(Tag.ConversionType, VR.CS, "WSD");
  dobj.putString(Tag.Modality, VR.CS, "OT");
  dobj.putInt(Tag.InstanceNumber, VR.IS, 1);
  dobj.putDate(Tag.DateOfSecondaryCapture, VR.DA, now);
  dobj.putDate(Tag.TimeOfSecondaryCapture, VR.TM, now);
  dobj
      .putString(Tag.SOPClassUID, VR.UI,
          UID.SecondaryCaptureImageStorage);
  dobj.putString(Tag.SOPInstanceUID, VR.UI, UIDUtils.createUID());
  return ret;
}
org.dcm4che2.utilUIDUtilscreateUID

Popular methods of UIDUtils

  • doCreateUID
  • fill
  • isValidUID
  • nextState
  • verifyUID
  • verifyUIDRoot

Popular in Java

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JComboBox (javax.swing)
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