- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {OutputStreamWriter o =
OutputStream out;new OutputStreamWriter(out)
OutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
HttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
- Smart code suggestions by Codota
}
/** * Constructs an empty content object. */ public MemoryContent() { _value = null; _type = null; _displayName = new LocalizedString(); _description = new LocalizedString(); _thumbnails = new ArrayList<BufferedImage>(); }
/** * Sets the display name of the content. * * @param displayName Display name to be set. */ public void setDisplayName( @NotNull final LocalizedString displayName ) { _displayName.set( displayName ); }
@Override public String getDisplayName( @NotNull final Locale locale ) { return _displayName.get( locale ); }
localizedString = new LocalizedString(); field.set( object, localizedString ); localizedString.set( LocalizedString.parse( string ) ); localizedString.clear();
/** * Sets the description of the content. * * @param description Description to be set. */ public void setDescription( @NotNull final LocalizedString description ) { _description.set( description ); }
@Override public String getDescription( @NotNull final Locale locale ) { return _description.get( locale ); }