Class BinaryResourceMediator

java.lang.Object
org.eclipse.scout.rt.ui.html.res.BinaryResourceMediator

public class BinaryResourceMediator extends Object
BinaryResourceMediator can be used by any IBinaryResourceProvider in order to provide binary resources defined in any child (such as JsonBean of the IJsonAdapter.

The child must add the binary resource by calling addBinaryResource(BinaryResource).

The implementation of the IBinaryResourceProvider can call getBinaryResourceHolder(String) to retrieve the BinearyResourceHolder.

  • Constructor Details

    • BinaryResourceMediator

      public BinaryResourceMediator(IJsonAdapter<?> jsonAdapter)
  • Method Details

    • addBinaryResource

      public void addBinaryResource(org.eclipse.scout.rt.platform.resource.BinaryResource binaryResource)
    • createUrl

      public String createUrl(org.eclipse.scout.rt.platform.resource.BinaryResource binaryResource)
    • getBinaryResourceHolder

      public BinaryResourceHolder getBinaryResourceHolder(String filenameWithFingerprint)