org.rhq.plugins.hosts.helper
Class SimpleUnixConfigFileLine

java.lang.Object
  extended by org.rhq.plugins.hosts.helper.SimpleUnixConfigFileLine

public class SimpleUnixConfigFileLine
extends Object

A line in a simple Unix config file, which consists of an optional non-comment portion and an optional comment portion.

Author:
Ian Springer

Constructor Summary
SimpleUnixConfigFileLine(String nonComment, String comment)
           
 
Method Summary
 String getComment()
           
 String getNonComment()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleUnixConfigFileLine

public SimpleUnixConfigFileLine(@Nullable
                                String nonComment,
                                @Nullable
                                String comment)
Method Detail

getNonComment

@Nullable
public String getNonComment()

getComment

@Nullable
public String getComment()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.