- All Known Subinterfaces:
AsIndentedString
,AsString
,Countable
,FileService
,Identifiable
,Indexable<Element>
,Indexed
,IntegerNumeric<Value>
,LengthOfTime<Duration>
,LongKeyed
,Message
,NetworkResource
,PointInTime<Time,
,Duration> Quantizable
,QuantumComparable<Value>
,Resource
,Sized
,Stringable
,TimeMeasurement
,WritableResource
- All Known Implementing Classes:
Activity
,Alert
,Announcement
,ArgumentList
,BaseCount
,BaseHttpResource
,BaseIndexedMap
,BaseList
,BaseNetworkResource
,BaseReadableResource
,BaseResourceList
,BaseSet
,BaseTime
,BaseWritableResource
,BitCount
,Bytes
,CommandLine
,ConcurrentMutableCount
,Count
,CriticalAlert
,Day
,DayOfWeek
,Differences
,DigestPassword
,Duration
,EnsureProblem
,Estimate
,FatalProblem
,File
,FileList
,FilePath
,FtpNetworkLocation
,FtpResource
,Glitch
,Host
,Hour
,HourOfWeek
,HttpGetResource
,HttpNetworkLocation
,HttpPostResource
,HttpPutResource
,Identifier
,IndexedNameMap
,Information
,InputResource
,IntegerIdentifier
,LanguageIsoCode
,LinkedObjectList
,LocalHost
,LocalTime
,Loopback
,Maximum
,MessageList
,Minimum
,Minute
,MutableCount
,Name
,Narration
,NetworkLocation
,NetworkPath
,NullResource
,ObjectList
,ObjectSet
,OperationFailed
,OperationHalted
,OperationLifecycleMessage
,OperationMessage
,OperationStarted
,OperationStatusMessage
,OperationSucceeded
,OutputResource
,PackagePath
,PackageReference
,PackageResource
,Path
,PlainTextPassword
,Problem
,Protocol
,Quibble
,Range
,Rate
,ReflectionProblem
,ResourceList
,ResourcePath
,ResourceReader
,ResourceSection
,Second
,SecureFtpNetworkLocation
,SecureFtpResource
,SecureHttpGetResource
,SecureHttpNetworkLocation
,SecureHttpPostResource
,Stack
,StackTrace
,StepFailure
,StepIncomplete
,StepSuccess
,StringList
,StringOutputResource
,StringPath
,StringResource
,SwitchList
,Time
,Trace
,Unsupported
,UserName
,ValidationIssues
,ValidationType
,Warning
,Week
,Year
,ZipEntry
public interface StringSource
Sadly, the only reason for this class is Java type erasures. Because you cannot implement more than one
Source
interface on an object at a time due to type erasure collisions, creating an interface like this one is the
only work-around.- Author:
- jonathanl (shibo)
-
Method Summary
-
Method Details
-
of
-
asString
String asString()- Returns:
- The string value
-