Hi,
I am designing one
java scenario, need to know weather It would be applicable to implement any design
pattern or normal java class will do and the details are
there are 3 method operations on files like
copyOperation(source, destination)
moveOperation(source,destination)
deleteOperation(source)
for the above three methods looks closely related to different kind of operations. My question is, would it be possible to have any java design pattern thru which I can have only one method in interface (in place of above three e.g. opertaions(arg1,arg2...) ) and also can have dynamic arguments i.e. I can increase or decrease the number of arguments while overriding above methods in the implementing class.
can someone please suggest which design pattern can satisfy the above scenario
Thanks in advance