Codota Logo
GoogleMetadata.parseItem
Code IndexAdd Codota to your IDE (free)

How to use
parseItem
method
in
org.dspace.app.util.GoogleMetadata

Best Java code snippets using org.dspace.app.util.GoogleMetadata.parseItem (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: DSpace/DSpace

/**
 * Wrap the item, parse all configured fields and generate metadata field
 * values.
 *
 * @param context context
 * @param item    The item being viewed to extract metadata from
 * @throws SQLException if database error
 */
public GoogleMetadata(Context context, Item item) throws SQLException {
  // Hold onto the item in case we need to refresh a stale parse
  this.item = item;
  this.itemService = ContentServiceFactory.getInstance().getItemService();
  itemURL = HandleServiceFactory.getInstance().getHandleService().resolveToURL(context, item.getHandle());
  googleBitstreamComparator = new GoogleBitstreamComparator(context, googleScholarSettings);
  parseItem();
}
org.dspace.app.utilGoogleMetadataparseItem

Javadoc

Using metadata field mappings contained in the loaded configuration, parse through configured metadata fields, building valid Google metadata value strings. Field names and values contained in metadataMappings.

Popular methods of GoogleMetadata

  • <init>
  • getMappings
  • addAggregateValues
  • addMultipleValues
    If metadata field contains multiple values, then add each value to the map separately
  • addSingleField
    Add a single metadata value to the Google field, defaulting to the first-encountered instance of the
  • buildFieldName
    Construct metadata field name out of Metadatum components
  • disseminateList
  • findLinkableFulltext
    A bitstream is considered linkable fulltext when it is either * the item's only bitstream (in the
  • getPDFSimpleUrl
    Gets the URL to a PDF using a very basic strategy by assuming that the PDF is in the default content
  • identifyItemType
    Identifies if this item matches a particular configuration of fields and values for those fields to
  • isPublic
    Find out whether bitstream is readable by the public.
  • itemIsDissertation
    Determine, based on config values, if this item is a dissertation.
  • isPublic,
  • itemIsDissertation,
  • itemIsPatent,
  • itemIsTechReport,
  • parseComponents,
  • parseFields,
  • parseOptions,
  • parseWildcard,
  • resolveMetadata

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Kernel (java.awt.image)
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Table (org.hibernate.mapping)
    A relational table
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