List of usage examples for com.liferay.portal.kernel.util StringPool POUND
String POUND
To view the source code for com.liferay.portal.kernel.util StringPool POUND.
Click Source Link
From source file:it.smc.calendar.sync.caldav.util.CalDAVUtil.java
License:Open Source License
public static String getCalendarColor(Calendar calendar) { return StringPool.POUND.concat(String.format("%06X", (0xFFFFFF & calendar.getColor()))); }
From source file:org.opencps.util.ExtractTextLocations.java
License:Open Source License
@Override protected void processTextPosition(TextPosition text) { if (text.getCharacter().equals(StringPool.POUND) && text.getFontSize() == 1L) { System.out.println("String[" + text.getXDirAdj() + "," + text.getYDirAdj() + " fs=" + text.getFontSize() + " xscale=" + text.getXScale() + " height=" + text.getHeightDir() + " space=" + text.getWidthOfSpace() + " width=" + text.getWidthDirAdj() + "]" + text.getCharacter()); System.out.println("String[" + text.getX() + "," + text.getY() + " fs=" + text.getFontSize() + " xscale=" + text.getXScale() + " height=" + text.getHeight() + " space=" + text.getWidthOfSpace() + " width=" + text.getWidth() + "]" + text.getCharacter()); setAnchorX(text.getX());// w w w. j a v a 2 s . co m setAnchorY(text.getY()); setSignatureHeight(text.getHeight()); setSignatureWidth(text.getWidth()); } }