Examples of FileStorageIdMapper


Examples of com.bhle.access.download.storage.FileStorageIdMapper

import com.bhle.access.download.storage.FileStorageIdMapper;

public class OfflineTest {
  @Test
  public void testOfflineProductIdMapper(){
    IdMapper mapper = new FileStorageIdMapper();
    URI externalId = URI.create("mailto:bhletech@bhle.com/a0hhmgs3_122344.jpg");
    URI internalId = mapper.getInternalId(externalId);
    Assert.assertEquals("file:bhletech%40bhle.com/a0hhmgs3_122344.jpg", internalId.toString());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.