Get ICC data.

Use this to get the @{link PelJpegContent ICC data} stored.

@return PelJpegContent the ICC data found or null if the image has no
ICC data.
18782
public function getICC()
    {
        $icc = $this->getSection(PelJpegMarker::APP2);
        if ($icc instanceof PelJpegContent) {
            return $icc;
        }
        return null;
    }
73139
public Content getContent() {
        if (getContents() != null && !getContents().isEmpty()) {
            final Content c = getContents().get(0);
            return c;
        }
        return null;
    }
548660
public function Get()
    {
        $filename = $this->GetPathToFile();
        if (!file_exists($filename)) {
            return null;
        }
        
        $data = file_get_contents($filename);
        if ($data === false) {
            return null;
        }
        
        $serialized = str_replace($this->_prefixContent, '', $data);
        return unserialize($serialized);
    }
582411
@Override
    public java.util.List<DataSlice> getData() throws PersistentDataEncodingException, SevereMessageStoreException
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getData");

        java.util.List<DataSlice> retval = null;

        synchronized (this)
        {
            if (_link != null)
            {
                retval = _link.getMemberData();
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "getData", "return=" + retval);
        return retval;
    }
225042
public function getImage()
    {
        // No fields, no image.
        if (empty($this->contenttype['fields'])) {
            return '';
        }

        // Grab the first field of type 'image', and return that.
        foreach ($this->contenttype['fields'] as $key => $field) {
            if ($field['type'] === 'image' && isset($this->values[$key])) {
                // After v1.5.1 we store image data as an array
                if (is_array($this->values[$key])) {
                    return isset($this->values[$key]['file']) ? $this->values[$key]['file'] : '';
                }

                return $this->values[$key];
            }
        }

        // otherwise, no image.
        return '';
    }
1078857
public I_CmsXmlDocument getRawContent() {

        if (m_content == null) {
            // content has not been provided, must unmarshal XML first
            CmsFile file;
            try {
                file = m_cms.readFile(m_resource);
                if (CmsResourceTypeXmlPage.isXmlPage(file)) {
                    // this is an XML page
                    m_content = CmsXmlPageFactory.unmarshal(m_cms, file);
                } else {
                    // this is an XML content
                    m_content = CmsXmlContentFactory.unmarshal(m_cms, file);
                }
            } catch (CmsException e) {
                // this usually should not happen, as the resource already has been read by the current user
                // and we just upgrade it to a File
                throw new CmsRuntimeException(
                    Messages.get().container(Messages.ERR_XML_CONTENT_UNMARSHAL_1, m_resource.getRootPath()),
                    e);
            }
        }

        // make sure a valid locale is used
        if (m_locale == null) {
            m_locale = OpenCms.getLocaleManager().getBestMatchingLocale(
                m_requestedLocale,
                OpenCms.getLocaleManager().getDefaultLocales(m_cms, m_cms.getRequestContext().getUri()),
                m_content.getLocales());
        }

        return m_content;
    }
275507
protected function getIntrospectiveData() {
		if ($this->_introspectiveData === null) {
			$reflection = new ReflectionObject($this);

			$data = (object) pathinfo($reflection->getFileName());
			$data->namespace = $reflection->getNamespaceName();
			$data->class     = $reflection->getShortName();

			$postfixPos = strrpos($data->class, self::DATAGATE_POSTFIX);
			$data->name = substr($data->class, 0, $postfixPos);

			$this->_introspectiveData = $data;
		}

		return $this->_introspectiveData;
	}
1365971
private JPanel getPaneContent() {
		if (paneContent == null) {

			paneContent = new JPanel();
			paneContent.setLayout(new BoxLayout(getPaneContent(), BoxLayout.Y_AXIS));
			paneContent.setEnabled(true);

			paneContent.add(getMainToolbarPanel(), null);

			paneContent.add(getPaneDisplay(), null);
			paneContent.add(getMainFooterPanel(), null);

		}
		return paneContent;
	}
273065
public CmsCntPageData getCntPageData() {

        if (m_cntPageData == null) {
            try {
                m_cntPageData = CmsContainerpageService.prefetch(getRequest());
            } catch (@SuppressWarnings("unused") CmsRpcException e) {
                // ignore, should never happen, and it is already logged
            }
        }
        return m_cntPageData;
    }
1200926
public MediaType getContentType() {
		String value = getFirst(CONTENT_TYPE);
		return (StringUtils.hasLength(value) ? MediaType.parseMediaType(value) : null);
	}
943262
public String getRawData() {
		if (rawData == null) {
			rawData = com.jfinal.kit.HttpKit.readData(request);
		}
		return rawData;
	}
867724
public ByteBuffer getData() {
        if (this.buffer == null) {
            throw new IllegalStateException("ByteBuffer must have data before it is ready for use.");
        }
        final ByteBuffer copy = CausticUtil.createByteBuffer(buffer.capacity());
        buffer.rewind();
        copy.put(buffer);
        copy.flip();
        return copy;
    }
1262562
protected final String getForCopy(final Class<?> pClass) {
    if (this.sharedEntities.contains(pClass)) {
      return null;
    } else if (IHasSeSeller.class.isAssignableFrom(pClass)) {
      return PrcEntityRetrieve.class.getSimpleName();
    }
    return null;
  }
631146
private String getPemFileData() throws IOException {
        final String methodName = "getPemFileData";
        logger.entry(this, methodName);
        
        if (pemFileData != null) {
            logger.exit(this, methodName, pemFileData);
            return pemFileData;
        }
        
        final StringBuilder sb = new StringBuilder();
        final InputStreamReader isr = new InputStreamReader(new FileInputStream(pemFile), "US-ASCII");
        try {
            int ch;
            while ((ch = isr.read()) != -1) {
                sb.append((char)ch);
            }
        } finally {
            try {
                isr.close();
            } catch (IOException e) {
                logger.data(this, methodName, "Failed to close input stream reader. Reason: ", e);
            }
        }
        
        pemFileData = sb.toString();

        logger.exit(this, methodName, pemFileData);

        return pemFileData;
    }
149885
public function getData()
    {
        $imagick = new \Imagick();
        $imagick->newImage($this->width, $this->height, $this->backgroundColor->__toString());
        $imagick->setImageFormat('png');

        if (method_exists($imagick, 'setImageProperty')) {
            $imagick->setImageProperty('Software', 'Jdenticon');
        } else {
            $imagick->setImageAttribute('Software', 'Jdenticon');
        }
        
        $imagick->drawImage($this->draw);
        return $imagick->getImageBlob();
    }
369294
private FileItem getHttpImportFileItem() {

        FileItem result = null;
        m_htmlimport.setHttpDir("");
        // get the file item from the multipart-request
        Iterator it = getMultiPartFileItems().iterator();
        FileItem fi = null;
        while (it.hasNext()) {
            fi = (FileItem)it.next();
            if (fi.getName() != null) {
                // found the file object, leave iteration
                break;
            } else {
                // this is no file object, check next item
                continue;
            }
        }

        if ((fi != null) && CmsStringUtil.isNotEmptyOrWhitespaceOnly(fi.getName())) {
            result = fi;
        }
        return result;
    }
160712
public java.lang.String getImage() {
    java.lang.Object ref = image_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      image_ = s;
      return s;
    }
  }