/** * Creates a new property value object representing a text property value. * * <p/> * This method is intended to create text property values only. * * @param propertyValue text property value which is stored as is * @return new property value object; <span class="javakeyword">null</span> if * <code>propertyValue</code> is <span class="javakeyword">null</span> */ public static SVNPropertyValue create(String propertyValue) { if (propertyValue == null){ return null; } return new SVNPropertyValue(propertyValue); }
/** * Creates a new property value object representing a text property value. * * <p/> * This method is intended to create text property values only. * * @param propertyValue text property value which is stored as is * @return new property value object; <span class="javakeyword">null</span> if * <code>propertyValue</code> is <span class="javakeyword">null</span> */ public static SVNPropertyValue create(String propertyValue) { if (propertyValue == null){ return null; } return new SVNPropertyValue(propertyValue); }
/** * Creates a new property value object representing a text property value. * * <p/> * This method is intended to create text property values only. * * @param propertyValue text property value which is stored as is * @return new property value object; <span class="javakeyword">null</span> if * <code>propertyValue</code> is <span class="javakeyword">null</span> */ public static SVNPropertyValue create(char[] propertyValue, String encoding) { if (propertyValue == null){ return null; } return new SVNPropertyValue(propertyValue, encoding); }
/** * Creates a new property value object representing a text property value. * * <p/> * This method is intended to create text property values only. * * @param propertyValue text property value which is stored as is * @return new property value object; <span class="javakeyword">null</span> if * <code>propertyValue</code> is <span class="javakeyword">null</span> */ public static SVNPropertyValue create(String propertyValue) { if (propertyValue == null){ return null; } return new SVNPropertyValue(propertyValue); }
value = new String(data, offset, length); return new SVNPropertyValue(value); return new SVNPropertyValue(data, offset, length);
value = new String(data, offset, length); return new SVNPropertyValue(value); return new SVNPropertyValue(data, offset, length);
value = new String(data, offset, length); return new SVNPropertyValue(value); return new SVNPropertyValue(data, offset, length);